Snack Attack Track is a subscription/membership management software meant to run on a raspberry pi with a touchscreen.
Tip
If you are trying to follow these steps for the first time, PLEASE let us know if you run into any problems so we can update the setup process
- Python 3.9 (preferably installed from the Microsoft store)
- git
- GitHub Desktop (if you prefer GUI for git)
- Visual Studio Code
Clone the repository either with GUI or following terminal commands
git clone https://github.com/DouglasHalse/snackAttackTrack.git
.\setupDevEnvironmentWindows.bat
- In Visual Studio Code: Select
File > Open Folder...
and select the cloned repository - Hit ^ Ctrl + ⇧ Shift + P and write
select interpreter
and clickPython: Select Interpreter
- Select the Python executable found in
venv/Scripts/python.exe
- Hit F5 to start debugging with the preset
Python: Run Snack Attack Track GUI
Run runGuiWindows.bat
- Python 3.9 or Python 3.10
- GitKraken Client if you prefer GUI for git
- Visual Studio Code
Clone the repository either with GUI or following terminal commands
git clone https://github.com/DouglasHalse/snackAttackTrack.git
bash setupDevEnvironmentUbuntu.sh
- In Visual Studio Code: Select
File > Open Folder...
and select the cloned repository - Hit ^ Ctrl + ⇧ Shift + P and write
select interpreter
and clickPython: Select Interpreter
- Select the Python executable found in
venv/bin/python
- Hit F5 to start debugging with the preset
Python: Run Snack Attack Track GUI
- Run
bash runGuiUbuntu.sh
in a terminal
- Press ^ Ctrl + E to start kivy inspector
This will run pylint
and black
to format the code and check for any violations of the PEP 8
Python coding standards.
pip install black pylint pre-commit
pre-commit install
pre-commit run -a