/django_base

Basic configuration to run up quickly a Django project with Docker image, postgreSQL and Bootstrap.

Primary LanguagePythonMIT LicenseMIT

Django base

basic Django project image to easy and quickly run up, using Docker, PostgreSQL, Bootstrap 4 and JQuery.

Run the project

To run the project in a local enviroment, follow next steps:

  1. Install Docker.

Download Docker from the offical website and install it.

  1. Clone the project.

Clone the project code locally using Git:

git clone git@github.com:roadhousestudio/django_base.git
  1. Build the Docker image

Make sure that Docker is running. Move to the root project folder and run the following command:

docker-compose build
  1. Run the project

Run the following command to run the project:

docker-compose up

Now you can navigate to localhost:8000 in your browser and you will see a Django project runing.

Architecture

Python 3.6.0

Django 2.0

PostgreSQL 10.1

Bootstrap 4

Jquery 3.2.1

keep in mind

  1. If you will to create your own git repository, move to project root and remove the .git/ folder configuration running the following comand:

    rm -rf .git/

  2. It's amazing if you want to contribute. Please create your pull requests from your own branch to development branch.

  3. Change the name of the root folder from django_base to your project name, and go to docker-compose.yml and edit image names from djangobase to your project name.

  4. If you have any suggestion or you want to contribute, I want to recommend you register it on utopian.io.


How was this repository built?

How setup a new Django project?