organizejs / brandnewroman

The website for the font of late stage capitalism

Home Page:https://www.brandnewroman.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

brandnewroman

The website for Brand New Roman

Getting Started

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).

Testing the application locally

  1. Copy template.env from the root directory to .env and fill out the environment variables
  2. Run source .env to load the environment variables into your session
  3. cd into the app directory and run python3 application.py to run your session. This should load the website on localhost:9001

(re)deployment

  1. Backup any changes you've made to github.
  2. Build your docker container: docker build -t brandnewroman
  3. docker tag brandnewroman <username>/brandnewroman
  4. docker push <username>/brandnewroman
  5. Go to Azure portal and restart

About

The website for the font of late stage capitalism

https://www.brandnewroman.com


Languages

Language:CSS 80.2%Language:HTML 10.3%Language:JavaScript 6.5%Language:Python 3.0%Language:Dockerfile 0.1%