Software Development Lifecycles WMGZON project source code. https://wmgzon.luke-else.co.uk
Go to file
2024-01-19 11:57:53 +00:00
cicd Changed directory in ci/cd pipeline 2024-01-15 18:23:39 +00:00
controllers Overhauled the way in which user details are passed to the frontend 2024-01-19 11:57:53 +00:00
models #2 Added functionality for user to signup as a Seller 2024-01-18 20:24:49 +00:00
scripts Updated script files to run tests on load 2024-01-12 14:55:52 +00:00
static #2 Added functionality for user to signup as a Seller 2024-01-18 20:24:49 +00:00
templates Overhauled the way in which user details are passed to the frontend 2024-01-19 11:57:53 +00:00
tests #2 Added ability for user to login as seller and added test to verify functionality 2024-01-18 21:11:01 +00:00
.gitignore Changed directory in ci/cd pipeline 2024-01-15 18:23:39 +00:00
.gitlab-ci.yml Removed venv from pipeline script 2024-01-15 18:30:18 +00:00
app.py Moved some products to different categories to test views 2024-01-07 13:47:09 +00:00
docker-compose.yml Updated script files to run tests on load 2024-01-12 14:55:52 +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 Chore: create filestructure for testing 2023-11-17 11:28:50 +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.