Steps 3-5 should only be necessary the first time you do it.
- Access the repository on VS Code
- Right click the
app/
folder within our repository and select "open in integrated terminal" - Type
pip
to see if it is installed - If not follow the install instructions
- Run the command
pip install -r ./requirements.txt
- Run the command
python3 manage.py runserver
Githooks are awesome! They keep the code nice and clean and your QA process short and sweet. Hooks run before things like commit and push to keep you from forgetting things that are really easy to forget.
To use them, it's as easy as running git config core.hooksPath .githooks
after
you've pulled the latest changes of course. :)
Since most everyone in this project is using VSCode, you should be able to do this in the VSCode git config menu if needed. (Update this if I'm wrong. ;))
Current hooks that exist:
- a pre-push hook to prevent accidental push to main and lint your code before sending off to github