Newer
Older
Store application for demonstrating security vulnerabilities for the Cyber Security Base Project I course. Register before using or use one of the dummy users in the setup.py file.
## Installation and setup
Pre-requisites: Python and pip installed on the machine.
### Windows
Install sqlite3:\
\
https://www.sqlite.org/download.html\
Install 'sqlite-tools-win32-x86-3420000.zip', and add the folder to path.
Install virtual environment:
```bash
py -m venv venv
Activate virtual environment:
```bash
venv\Scripts\activate
```
Install required dependencies:
```bash
```
Create initial database file:
```bash
py setup.py
```
Run application:
```bash
flask run
### Linux
Install sqlite3 according to your Linux distribution.
Install virtual environment:
```bash
python3 -m venv venv
```
Activate virtual environment:
```bash
source venv/bin/activate
```
Install required dependencies:
```bash
```
Create initial database file:
```bash
py setup.py
```
Run application:
```bash
flask run
```
### Mac
Sqlite3 should be preinstalled.
Install virtual environment:
```bash
python3 -m venv venv
```
Activate virtual environment:
```bash
source venv/bin/activate
```
Install required dependencies:
```bash