- Open a command line window and go to the project's directory.
pipenv install --devyarn installyarn run start- Open another command line window and go to the project's directory.
pipenv shellpython manage.py runserver
- Open a command line window and go to the project's directory
pipenv shellpython manage.py celery
make test
Will run django tests using --keepdb and --parallel. You may pass a path to the desired test module in the make command. E.g.:
make test someapp.tests.test_views
Just run pipenv install LIB_NAME_ON_PYPI and then pipenv lock to lock the version in Pipfile.lock file
- Manually with
prospectorandyarn run linton project root. - During development with an editor compatible with prospector and ESLint.
- Run
pre-commit installto enable the hook into your git repo. The hook will run automatically for each commit. - Run
git commit -m "Your message" -nto skip the hook if you need.