Software Development Lifecycles WMGZON project source code. https://wmgzon.luke-else.co.uk
Go to file
2024-01-25 00:08:25 +00:00
cicd Changed directory in ci/cd pipeline 2024-01-15 18:23:39 +00:00
controllers #4 #6 Completed functionlity to update products in place. Form still needs tidying up 2024-01-25 00:05:34 +00:00
models Fixed all pep8 warnings 2024-01-21 22:22:29 +00:00
scripts #4 #6 Completed functionlity to update products in place. Form still needs tidying up 2024-01-25 00:05:34 +00:00
static #4 #6 Base creation of a product viewing page with the ability to edit as a seller 2024-01-24 18:07:41 +00:00
templates #4 #6 Base creation of a product viewing page with the ability to edit as a seller 2024-01-24 18:07:41 +00:00
tests Added utils path to pep8 checks 2024-01-25 00:08:25 +00:00
utils Added utils path to pep8 checks 2024-01-25 00:08:25 +00:00
.gitignore #3 Added ability for images to be uploaded to the site 2024-01-19 16:35:23 +00:00
.gitlab-ci.yml Ensure env vars are set for test environment 2024-01-21 22:40:31 +00:00
app.py #4 #6 Completed functionlity to update products in place. Form still needs tidying up 2024-01-25 00:05:34 +00:00
docker-compose.yml #4 #6 Completed functionlity to update products in place. Form still needs tidying up 2024-01-25 00:05:34 +00:00
dockerfile Updated script files to run tests on load 2024-01-12 14:55:52 +00:00
README.md Updated readme to include testing instructions 2024-01-09 22:31:23 +00:00
requirements.txt Added pep8 style tests 2024-01-21 21:58:45 +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.