Django Boilerplate
A ready to use django boilerplate project.
| Project | Django boilerplate |
|---|---|
| Author | Ozcan Yarimdunya |
| Documentation | https://ozcanyarimdunya.github.io/django-boilerplate/ |
| Github | https://github.com/ozcanyarimdunya/django-boilerplate/ |
Features
dockersupport- Settings are separated as
productionanddevelopment static,mediafiles andtemplatessetdjango-constanceinstalled- A
commonapp installed with a timestampedBaseModelmodel
Installation
-
Clone the repository.
$ git clone https://github.com/ozcanyarimdunya/django-boilerplate.git myapp $ cd myapp/ -
Install the virtualenv package, create new virtual environment and activate it.
$ pip install virtualenv $ virtualenv venv $ source venv/bin/activate -
Install all dependencies and start application on http://127.0.0.1:8000/.
$ make -
To access admin panel, create a superuser and visit http://127.0.0.1:8000/admin/.
$ make superuser
Running in docker
-
Make sure you have installed docker and docker-compose.
$ make docd -
To access admin panel, create a superuser in docker and visit http://127.0.0.1:8000/admin/.
$ docker exec -ti docker_webapp_1 make superuser
Documentation
Documentations made by mkdocs. For more info visit here.
$ make documentation