- CHOU, Minjin (s3641315)
- DECHATHAWEEWAT, Chatchapat (s3679216)
- Github repository : https://github.com/kuntakinte777/Cloud-A3-Project/tree/develop
- Google drive : https://drive.google.com/drive/folders/1OhxzHH7r0OIU03yHgOCFWwRfZoIrRUBt
- Python 3
- Docker
- Navigate to this project dictory on terminal.
- Start database Docker container with
docker-compose up -d
- Create
.env
file with the followings:
DEBUG=true
POST_API=https://vku62j9uff.execute-api.us-east-1.amazonaws.com/dev/posts
REGION_NAME=us-east-1
# Cognito
USER_POOL_ID=us-east-1_Gd3Licbad
CLIENT_ID=1jvdcfk3iut0f258vvc8pd8p2l
USER_POOL_NAME=User
# Database
DB_HOST=127.0.0.1
DB_NAME=admin
DB_USERNAME=root
DB_PASSWORD=example
# Email
[email protected]
- Execute the following commands:
# Execute this command only once to create Python virtual environment
python3 -m venv env
# Install all dependencies
pip3 install -r requirements.txt
# Use virtual environment
source venv/bin/activate
# Start application
python3 main.py