A base code for Django projects
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
backend
bin
frontend
requirements
settings
.bowerrc
.gitignore
Makefile
Procfile
README.md
app.json
bower.json
example.env
manage.py
package.json
requirements.txt
runtime.txt

README.md

Django boilerplate

Django boilerplate to start new projects. Based on 7ws logfreak project.

Requirements

  • Python +3.5
  • Django 1.1x
  • bower

How to use

Inside the directory your project will live, run the following command:

$ django-admin startproject project_name --template=https://github.com/dunderlabs/django-boilerplate/archive/master.zip

After that the following command will update requirements/*.txt with latest packages from requirements/*.in:

$ make pip-compile

The next command will install requirements for a local development environment:

$ make install-dev-requirements

After all, just install the frontend dependencies with:

$ make setup-frontend

Running the tests

Make sure that you have the Firefox and the geckodriver installed on your machine.

To execute the default tests, enter on the project root and run the following command:

$ python manage.py test backend/core/tests