https://nycbasics5.ga/ or here
http://nycbasics5prod.ml/ or here
-
Always work in a venv
virtualenv env
source env/bin/activate
-
Remember to update requirements.txt
pip freeze > requirements.txt
-
To use requirements.txt
pip install -r requirements.txt
-
To run frontend node
cd frontend
npm install
npm run watch
-
To run backend django
cd backend
python manage.py runserver
-
To run backend test
cd backend
python -m coverage run manage.py test
coverage html
-
To run frontend test
cd backend/frontend
npm run tests
-
Check black and flake8 before all commits
python -m black .
python -m flake8 .