Web App for collecting questionaire data & work session productivity metrics & correlates from KS backers & product testers
A Django 1.11 project boilerplate/template with lots of state of the art libraries and tools like:
For continuous integration, a CircleCI configuration
circle.yml is included.
Also, includes a Heroku
app.json and a working Django
production.py settings, enabling easy deployments with 'Deploy to Heroku' button. Those Heroku plugins are included in
cp mindset_app/settings/local.py.example mindset_app/settings/local.py
cp .env.example .env
usersapp (do this, then remove this line from the README):
python manage.py makemigrations
python manage.py migrate
pip install -r requirements.txt
npm run start
python manage.py runserver
Will run django tests using
--parallel. You may pass a path to the desired test module in the make command. E.g.:
make test someapp.tests.test_views
Add high level dependecies to
pip freeze > requirements.txt. This is A Better Pip Workflow.
npm run linton project root.
pre-commit installto enable the hook into your git repo. The hook will run automatically for each commit.
git commit -m "Your message" -nto skip the hook if you need.
If you made changes to this boilerplate and want to test them, commit your changes and use
git archive -o boilerplate.zip HEAD to create the template zip. Then, do a
cd .. and a
django-admin startproject theprojectname --extension py,yml,json --name Procfile,README.md,.env.example --template=django-react-boilerplate/boilerplate.zip to test the project bootstrap.
Push your changes to a branch and visit
https://dashboard.heroku.com/new?template=https://github.com/fill-org-or-user/fill-project-repo-name/tree/fill-branch (replace all
P.S. if you want to deploy in a different way please check the
app.json file for what needs to be configured.
This project, as other Vinta open-source projects, is used in products of Vinta clients. We are always looking for exciting work, so if you need any commercial support, feel free to get in touch: firstname.lastname@example.org
Copyright (c) 2017 Vinta Serviços e Soluções Tecnológicas Ltda. MIT License