This sample was built with Heroku in mind as a target, so the simplest way to run the sample is via foreman:
- Copy
.env_sampleto.envand fill in the values. - Run
pip install -r requirements.txtto install the necessary modules. - Launch the app via
foreman startor deploy to Heroku.
You can also just set the required environment variables (using .env_sample as a guide) and run the app directly with python app.py.
You can deploy directly to Heroku with the button below. First you'll need to create an API app via the App Console. Make sure your app has "Full Dropbox" access.
Once you've deployed, you can easily clone the app and make modifications:
$ heroku clone -a new-app-name
...
$ vim app.py
$ git add .
$ git commit -m "update app.py"
$ git push heroku master
...
