-
Notifications
You must be signed in to change notification settings - Fork 0
Hosting on Heroku
Christopher Martin edited this page Aug 3, 2021
·
3 revisions
Step 1: Navigate to https://heroku.com/ and sign up
Step 3: Navigate to https://dashboard.heroku.com/apps and click "Create a new app"
Step 5: Navigate to https://elements.heroku.com/addons/heroku-postgresql and click "Install Heroku Postgres"
Step 6: Select the "Hobby Dev - Free" Add-on plan and enter your unique app name as the provisioned app
Your .env
file should look something like this:
DIALOGFLOW_PROJECT_ID=classroom-assistant
GOOGLE_APPLICATION_CREDENTIALS=path/to/credential/file.json
SLACK_CLIENT_ID=#############.#############
SLACK_CLIENT_SECRET=????????????????????????????????
SLACK_SIGNING_SECRET=????????????????????????????????
FLASK_APP=main.py
FLASK_ENV=production
FLASK_RUN_HOST=0.0.0.0
FLASK_RUN_PORT=3000
DATABASE_URL=postgres://********************************:********************************:****/******************