Repo for Grocerist's Web-Application
- clone the repo
git clone https://github.com/grocerist/grocerist-app.git
- create a virtual environment
python -m venv venv
- activate the environment
source venv/bin/activate
(.\venv\Scripts\Activate.ps1 for Windows Powershell) - install needed packages
pip install -r requirements.txt
- make sure your virtual environment is activated and you have all dependencies installed
- have a look at
.github/workflows/build.yml
to see which scripts need be run in which sequence - run
./build.sh
to call all needed python scripts
- change into the
html
folder;cd html
- start a python dev server
python -m http.server
- go to http://127.0.0.1:8000/
-
make sure you have
flake8
andblack
installed (or just runpip install -r requirements.txt
) -
run
flake8
for linting runblack .
for code formatting, ideally the latter fixes the errors found by flake8