andyklimczak / andy-django-boilerplate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Django boilerplate

Local setup

  1. Install docker
  2. Run make run
  3. Migrate with make migrate
  4. Run tests with make test
  5. Create a superuser with make createsuperuser
  6. See all commands able to be run locally with make

Delete local data

To delete all data locally while keeping the tables themselves, run:

make purge

Django shell

To start up, access, and see data through the shell, start the server and run:

make shell

Run tests

make test

Add dependency

  1. Add to requirements.txt
  2. make build

About


Languages

Language:Python 89.3%Language:Makefile 9.2%Language:Dockerfile 1.5%