A flask-based e-commerce web application
- Create a .env file and config.yml in project root directory, fill them up as necessary, use the docker-compose file to deploy a mariadb instance (/var/lib/mysql wasn't mapped to a folder on disk, so it will not persist reboots)
- Install the prerequisites by running:
pip install -r requirements.txt
inside the backend
folder.
- Set the shell environment variable
FLASK_APP
asbackend
and then runflask run
and the site should be served athttp://localhost:5000