/django-base-project

A simple base to start new Django project (API).

Primary LanguagePythonMIT LicenseMIT

A simple base to start new Django project (API)

Using the best tools and settings to save your time.

Getting Started

To start a new project, only clone this repository and create your favorite database, then start your code.

Prerequisites

To use this project, you'll need Pipenv and Python 3.7 (I recommend use Pyenv to manager Python versions)

Installing

To start a new project go to a folder and follow this.

$ git clone https://github.com/silasvasconcelos/django-base-project.git project-name
$ pyenv install 3.7 # install python 3.7
$ pipenv install --dev # create a virtualenv and install dependencies including dev

Running the project

$ cp .env.example .env # copy settings from .env.example to .env
$ pipenv run python manage.py migrate # create database and run migrations
$ pipenv run python manage.py createsuperuser # create a admin user
$ pipenv run python manage.py runserver # start dev server

Built With

Author

License

This project is licensed under the MIT License - see the LICENSE.md file for details