This is a simple project built with Vinta’s django+react boilerplate as part of a job application proccess and it consists of a web application where users can track commits made to repositories they chose to monitor.
repositoriesfeed/settings/local.py.example
:cp repositoriesfeed/settings/local.py.example repositoriesfeed/settings/local.py
(remembering you should replace repositoriesfeed
with your project’s name!)..env.example
:cp .env.example .env
users
app (do this, then remove this line from the README):python manage.py makemigrations
python manage.py migrate
pipenv install --dev
npm install
npm run start
pipenv shell
python manage.py runserver
pipenv shell
python 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
prospector
and npm run lint
on project root.pre-commit install
to enable the hook into your git repo. The hook will run automatically for each commit.git commit -m "Your message" -n
to skip the hook if you need.