Skip to content

Initial Setup with No Docker

Dallas Fraser edited this page Oct 16, 2019 · 4 revisions

Initial Setup with No Docker


Things to Install

Python 3

Flask and Dependencies pip install -r requirements.txt

Optional

Redis

Postgres

Redis is optional since can just use a simple cache when running the app locally. Additionally, Postgres is optional since for the DATABASE_URL can just specify


Launching the application

optional Steps

  1. Initialize the postgres service and create a database.
  2. Initialize the redis service.

Mandatory Steps

  1. Set the appropriate environment variables to their specific values.
  2. Create the database tables by python initDB.py
  3. Launch the app by python runserver.py
Clone this wiki locally