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.