Visualizing PurpleAir sensor data with Plotly Dash.
- Install Dokku
- Deploy the app
- Create a new app:
dokku apps:create app-name
- Install Postgres plugin.
sudo dokku plugin:install https://github.com/dokku/dokku-postgres.git
- Create a Postgres database.
dokku postgres:create databasename
- Link the database and app.
dokku postgres:link databasename app-name
- Clone airdash to a folder on your local machine.
git clone https://github.com/nmdefries/airdash path/to/local/directory
- Deploy the app to your Dokku server.
cd path/to/local/directory git remote add dokku [email protected]:app-name git push dokku master
- Alternative: Clone airdash directly to Dokku using a plugin.