A starter repo for a flask Docker container
- You'll need a keys.sh file in the local_files directory.
- PostgresApp needs to be installed on your computer
- brew install postgres
- brew install bcrypt
- brew install openssl
- If you don't have python virtualenvs setup, follow the instructions here (starting at installing virtualenv): https://newcoder.io/pyladiessf
- mkvirtualenv deploy
- pip install -r ./local_files/requirements.txt
- To create a local database, type: psql -h localhost
- CREATE DATABASE [db_name];
- Run: ./run_local.sh
- Go to localhost:7070 to see your home page!
- Application logs can be accessed with: tail -f ./application.log