https://github.com/ebonnal/adeptus-optimus-backend
https://github.com/ebonnal/adeptus-optimus-backend
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ebonnal/adeptus-optimus-backend
- Owner: ebonnal
- License: other
- Created: 2020-10-05T10:37:01.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-10T21:23:23.000Z (about 3 years ago)
- Last Synced: 2025-03-07T21:11:10.979Z (2 months ago)
- Language: Python
- Homepage:
- Size: 379 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Adeptus Optimus Backend
|branch|CI|CD|
|--|--|--|
|main|[](https://github.com/bonnal-enzo/adeptus-optimus-backend/actions)[](https://github.com/bonnal-enzo/adeptus-optimus-backend/actions)|[](https://github.com/bonnal-enzo/adeptus-optimus-backend/actions)|
|prod|[](https://github.com/bonnal-enzo/adeptus-optimus-backend/actions)[](https://github.com/bonnal-enzo/adeptus-optimus-backend/actions)|[](https://github.com/bonnal-enzo/adeptus-optimus-backend/actions)|# Locally
## Run app
```bash
pip3 install -r requirements.txtcd src
python app.py
# or
python -m flask run --port=8080
# or
waitress-serve --call 'app:create_app'
```and
```bash
curl -X GET http://127.0.0.1:8080/engine/
```and
```bash
curl -X GET http://127.0.0.1:5000/engine/
```## Run unit tests
```bash
cd src
python -m unittest
```# GCP Deployment
CD deploys [the app on Cloud Run](https://console.cloud.google.com/run/detail/europe-west1/engine/metrics?authuser=0&project=adeptus-optimus)# Locally
## Run app
```bash
pip3 install -r requirements.txtpython app.py
# or
python -m flask run
```## Run unit tests
```bash
cd src
python -m unittest
```# GCP Deployment
CD deploys [the app on Cloud Run](https://console.cloud.google.com/run/detail/europe-west1/engine/metrics?authuser=0&project=adeptus-optimus)