Software Development Lifecycles WMGZON project source code. https://wmgzon.luke-else.co.uk
Go to file
2024-01-10 23:50:04 +00:00
controllers Fixed signup crashing becuase of extra field specified in constructor 2024-01-10 23:50:04 +00:00
models Added product tests 2024-01-10 23:44:59 +00:00
scripts Added product tests 2024-01-10 23:44:59 +00:00
static Added highlighting for selected category 2024-01-06 01:14:20 +00:00
templates Added highlighting for selected category 2024-01-06 01:14:20 +00:00
tests Added product tests 2024-01-10 23:44:59 +00:00
.gitignore Created docker compose file with sqlite3 database container 2024-01-01 15:04:58 +00:00
app.py Added ability to fetch products from the database 2024-01-05 18:20:56 +00:00
docker-compose.yml Created better environment for testing 2024-01-09 20:53:55 +00:00
dockerfile Updated docker and script files to make them more robust 2024-01-04 18:59:51 +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.