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/ |
docker
support- Settings are separated as
production
anddevelopment
static
,media
files andtemplates
set- A
common
app installed with a timestampedBaseModel
model
-
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
-
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
Documentations made by mkdocs. For more info visit here.
$ make documentation