Package | Version | License |
---|---|---|
Chartbrew | v3.5.1 | MIT |
Click the Deploy to DigitalOcean button to create a Droplet based on this 1-Click App. If you aren’t logged in, this link will prompt you to log in with your DigitalOcean account.
In addition to creating a Droplet from the Chartbrew 1-Click App using the control panel, you can also use the DigitalOcean API. As an example, to create a 4GB Chartbrew Droplet in the SFO2 region, you can use the following curl
command. You need to either save your API access token) to an environment variable or substitute it in the command below.
curl -X POST -H 'Content-Type: application/json' \
-H 'Authorization: Bearer '$TOKEN'' -d \
'{"name":"choose_a_name","region":"sfo2","size":"s-2vcpu-4gb","image": "depomo-chartbrew"}' \
"https://api.digitalocean.com/v2/droplets"
The image is already configured to get you started super fast. To get started, SSH into your droplet:
ssh root@your_droplet_public_ipv4
Then run the setup script:
cd /var/www/html/chartbrew && ./setup_do.sh
This will set up your new encryption keys for Chartbrew and build the UI. After the script finishes, you can access Chartbrew at http://your_droplet_public_ipv4
The Chartbrew image contains a local database already set up for you. If you wish to change the database/credentials, you will also need to change the credentials in the /var/www/html/chartbrew/.env
file. The database credentials are at the top of the file. After any changes to the .env
file, the Chartbrew backend needs to be restarted:
pm2 reload cbc-api