| Name | University ID |
|---|---|
| Julia Mularczyk | 148062 |
| Miłosz Matuszewski | 148185 |
| Jan Szczuka | 148075 |
| Jakub Mrówczyński | 148068 |
- docker
- docker-compose
To start the app
cp template.env .env
docker-compose up --builddocker-compose up -d
docker-compose exec fastapi pytestCI/CD pipeline is configured in a way to showcase what steps are needed to deploy this app to production
-
Build images and push to AWS ECR (Amazon Elastic Container Registry)
-
Copy files from
deploymentdirectory -
Run
setup.shfile that will install docker and docker-compose -
Run
docker-compose -f docker-compose.prod.yml up
If you want to use pycharm to run/debug
- add python interpreter in the settings based on the docker compose ( do it also if you want to have suggestions in pycharm)
- comment/delete entrypoint from docker-compose.yml
- run the app with start button in main.py
- if it doesn't work, changed the working directory to the root of the project in that case tpd-backend
- if container didn't build properly run docker-compose build in the terminal and then use pycharm
- you can update pycharm interpreter by clicking in the bottom right corner name of the interpreter twice