-
Coming soon a tracking board for all my books Woot Woot! *
-
Python >=3.6
-
Node >=12
-
npm >=6
# inside of client directory
npm install
# inside of server directory
create a .env file with the following format:
POSTGRES_USER=*******
POSTGRES_PW=*******
docker build .
docker run -it -p 8080:500 --env-file .env <docker_image_hash>
$ cd server
$ source venv/bin/activate
$ FLASK_APP=server.py
$ FLASK_ENV=development
$ flask run
# In another terminal tab
$ cd client
$ npm start
Useful Articles for Project Write Up:
https://pythonspeed.com/articles/docker-connection-refused/
Todo:
- Set up domain name: https://docs.aws.amazon.com/cloud9/latest/user-guide/app-preview.html#app-preview-share-get-metadata
- For some reason, the db request is not working on aws?, but it works locally.