Chartbrew
Generated on 4 Jun 2024 from the Chartbrew catalog page
- Chartbrew is a powerful data visualization and reporting tool designed to help businesses create insightful reports with ease.
- Seamless integrations to various data sources allow users to generate interactive dashboards and share them with clients or team members in real-time.
- The intuitive interface and customizable charts enable you to uncover trends and make data-driven decisions quickly.
- Chartbrew saves you time and enhances your reporting capabilities, making it an essential tool for any data-driven organization.
- Chartbrew can also be used as a managed service at chartbrew.com
Software Included
Package | Version | License |
---|---|---|
Chartbrew | v3.5.1 | MIT |
Creating an App using the Control Panel
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.
Creating an App using the API
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"
Getting Started After Deploying Chartbrew
Quickstart
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
Database setup
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