The website for Brand New Roman
This application depends on two external services: Sendgrid (to generate mail to users) and Mailchimp (to store email data and build mailchimp lists). To begin, make sure you have proper authentication methods to both these services.
This application is also deployed using Docker, so make sure that you have Docker installed.
I would also recommend using some kind of virtual env (conda or pyenv).
- Copy template.env from the root directory to .env and fill out the environment variables
- Run
source .env
to load the environment variables into your session cd
into the app directory and runpython3 application.py
to run your session. This should load the website on localhost:9001
- Backup any changes you've made to github.
- Build your docker container:
docker build -t brandnewroman
docker tag brandnewroman <username>/brandnewroman
docker push <username>/brandnewroman
- Go to Azure portal and restart