Software Development Lifecycles WMGZON project source code. https://wmgzon.luke-else.co.uk
Go to file
2024-01-30 21:50:35 +00:00
cicd Updated line endings to be in line with UNIX style 2024-01-28 11:59:04 +00:00
controllers Added ability for stats to be tracked on products 2024-01-30 21:49:17 +00:00
models Added ability for stats to be tracked on products 2024-01-30 21:49:17 +00:00
scripts Added ability for stats to be tracked on products 2024-01-30 21:49:17 +00:00
static Fixed image sizing and colouring 2024-01-30 19:41:58 +00:00
templates Updated jinja templates and css to better enable product alteration 2024-01-30 19:05:09 +00:00
tests CHORE: Updated tests to better check env vars 2024-01-30 19:30:02 +00:00
utils Updated jinja templates and css to better enable product alteration 2024-01-30 19:05:09 +00:00
.gitattributes Added .gitattributes file to ensure that bash file line endings stay correct 2024-01-29 20:12:20 +00:00
.gitignore Updated test products to give greater variety 2024-01-29 20:52:39 +00:00
.gitlab-ci.yml Update CI to show warnings 2024-01-30 21:50:35 +00:00
app.py Updated line endings to be in line with UNIX style 2024-01-28 11:59:04 +00:00
docker-compose.yml Updated line endings to be in line with UNIX style 2024-01-28 11:59:04 +00:00
dockerfile Updated line endings to be in line with UNIX style 2024-01-28 11:59:04 +00:00
README.md Updated line endings to be in line with UNIX style 2024-01-28 11:59:04 +00:00
requirements.txt Updated line endings to be in line with UNIX style 2024-01-28 11:59:04 +00:00

runme
id version
01HK0BF4BTBSKR9VWAP1KGD2S7 v2.0

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.