Software Development Lifecycles WMGZON project source code.
https://wmgzon.luke-else.co.uk
8d99fc5595
Cicd See merge request u5500327/wmgzon!1 |
||
---|---|---|
cicd | ||
controllers | ||
models | ||
scripts | ||
static | ||
templates | ||
tests | ||
utils | ||
.gitattributes | ||
.gitignore | ||
.gitlab-ci.yml | ||
app.py | ||
docker-compose.yml | ||
dockerfile | ||
README.md | ||
requirements.txt | ||
venv.bat |
runme | ||||
---|---|---|---|---|
|
WMGZON
Flask web application serving WMGZON and its relevant backend services.
Initialisation
To start you need to create a virtual environment and load in the required dependencies for the project
python -m venv .venv
./.venv/Scripts/Activate.ps1
pip install -r requirements.txt
Testing
To run the full suite of unit tests for the webapp simply run the following command in the venv
pytest
Running
Pre-Requisites
- Docker daemon is installed and running.
- Docker compose is installed.
Instructions
In order to run the web app, simply use the command
docker-compose up -d
to run the container in a detatched mode.