Django Starter is a simple Skeleton to start with a Django project.

Overview

Django Starter Template

Description

Django Starter is a simple Skeleton to start with a Django project.

Features

  • Easy Installation
  • Standard Project Structure
  • Example Landing Page using Bootstrap 5
  • Caching Support
  • Setup script
  • Dockerized
  • Management Commands
  • I18N Support

Installation

Requirements

(click each one for install guide)

Setup Process

Installation Methods

  1. Using Treditional Approach
  2. Using Docker

1. Using Traditional Approach

  1. Clone the git: git clone https://github.com/NumanIbnMazid/django_starter.git

  2. Go into the new directory: cd django_starter

  3. Install the required dependencies.

    • Install Dependencies Using Pip

      • Run pip install -r requirements.txt, this will install all the required dependencies.

        Please choose to (w)ipe if asked for this:

        The plan is to install the git repository https://github.com/xxxx
        What to do?  (i)gnore, (w)ipe, (b)ackup
        
    • Install Dependencies Using Poetry

      • Run poetry install, this will install all the required dependencies.
    ![N:B: Replace `python` with `poetry run python` if using poetry. For example: `poetry run python manage.py runserver`]
  4. Create a .env file and provide required environment variables using the template .env.example or run python utils/generate_env.py to automatically generate the .env file.

  5. Run python manage.py makemigrations and python manage.py migrate, this will create the database tables

  6. Run python manage.py collectstatic, this will collect all static files

  7. Run python manage.py runserver this should start the project on port 8000.

  8. Open the app on browser by navigating the url http://127.0.0.1:8000

  • Optional: Create Django Superuser with management command python manage.py initiate_admin
  • Optional: Configure site information with management command python manage.py initiate_site

2. Using Docker

  1. Clone the git: git clone https://github.com/NumanIbnMazid/django_starter.git
  2. Go into the new directory: cd django_starter
  3. Create a .env file and provide required environment variables using the template .env.example. Django SECRET_KEY can be generated from djecrety.ir
  4. Run command docker-compose up to start the project.
  5. Open the app on browser by navigating the url http://localhost:8000

Author

You might also like...
Notes-Django: an advanced project to save notes in Django. where users are able to Create, Read, Update and Delete their notes.
Notes-Django: an advanced project to save notes in Django. where users are able to Create, Read, Update and Delete their notes.

An advanced software to keep you notes. It allows users to perform CRUD operations on theirs Notes. Was implemented Authorization and Authentication

A simple demonstration of integrating a sentiment analysis tool in a django project

sentiment-analysis A simple demonstration of integrating a sentiment analysis tool in a django project (watch the video .mp4) To run this project : pi

Django-Audiofield is a simple app that allows Audio files upload, management and conversion to different audio format (mp3, wav & ogg), which also makes it easy to play audio files into your Django application.
Django-Audiofield is a simple app that allows Audio files upload, management and conversion to different audio format (mp3, wav & ogg), which also makes it easy to play audio files into your Django application.

Django-Audiofield Description: Django Audio Management Tools Maintainer: Areski Contributors: list of contributors Django-Audiofield is a simple app t

Twitter Bootstrap for Django Form - A simple Django template tag to work with Bootstrap

Twitter Bootstrap for Django Form - A simple Django template tag to work with Bootstrap

Django-static-site - A simple content site framework that harnesses the power of Django without the hassle

coltrane A simple content site framework that harnesses the power of Django with

Django-Text-to-HTML-converter - The simple Text to HTML Converter using Django framework

Django-Text-to-HTML-converter This is the simple Text to HTML Converter using Dj

A helper for organizing Django project settings by relying on well established programming patterns.

django-configurations django-configurations eases Django project configuration by relying on the composability of Python classes. It extends the notio

Simply integrate Summernote editor with Django project.
Simply integrate Summernote editor with Django project.

django-summernote Summernote is a simple WYSIWYG editor. django-summernote allows you to embed Summernote into Django very handy. Support admin mixins

A Django Online Library Management Project.

Why am I doing this? I started learning 📖 Django few months back, and this is a practice project from MDN Web Docs that touches the aspects of Django

Owner
Numan Ibn Mazid
I am a professional Software Engineer offering enthusiasm. I enjoy developing innovative software solutions that are tailored to customer desirability.
Numan Ibn Mazid
Dockerizing Django with Postgres, Gunicorn, Nginx and Certbot. A fully Django starter project.

Dockerizing Django with Postgres, Gunicorn, Nginx and Certbot ?? Features A Django stater project with fully basic requirements for a production-ready

null 8 Jun 27, 2022
It takes time to start a Django Project and make it almost production-ready.

It takes time to start a Django Project and make it almost production-ready. A developer needs to spend a lot of time installing required libraries, setup a database, setup cache as well as hiding secrets, configuring `settings` files. With the help of django-setup-cli a developer can start an `almost production ready` project in a minute.

Khan Asfi Reza 1 Jan 1, 2022
Full-featured django project start tool.

django-start-tool Introduction django-start-tool is a full-featured replacement for django-admin startproject which provides cli for creating the same

Georgy Gnezdilov 0 Aug 30, 2022
A starter template for building a backend with Django and django-rest-framework using docker with PostgreSQL as the primary DB.

Django-Rest-Template! This is a basic starter template for a backend project with Django as the server and PostgreSQL as the database. About the templ

Akshat Sharma 11 Dec 6, 2022
A beginner django project and also my first Django project which involves shortening of a longer URL into a short one using a unique id.

Django-URL-Shortener A beginner django project and also my first Django project which involves shortening of a longer URL into a short one using a uni

Rohini Rao 3 Aug 8, 2021
Django URL Shortener is a Django app to to include URL Shortening feature in your Django Project

Django URL Shortener Django URL Shortener is a Django app to to include URL Shortening feature in your Django Project Install this package to your Dja

Rishav Sinha 4 Nov 18, 2021
This a Django TODO app project and practiced how to deploy and publish the project to Heroku

ToDo App Demo | Project Table of Contents Overview Built With Features How to use Acknowledgements Contact Overview Built With HTML CSS JS Django How

Cetin OGUT 1 Nov 19, 2021
pytest-django allows you to test your Django project/applications with the pytest testing tool.

pytest-django allows you to test your Django project/applications with the pytest testing tool.

pytest-dev 1.1k Dec 14, 2022
django-dashing is a customisable, modular dashboard application framework for Django to visualize interesting data about your project. Inspired in the dashboard framework Dashing

django-dashing django-dashing is a customisable, modular dashboard application framework for Django to visualize interesting data about your project.

talPor Solutions 703 Dec 22, 2022
Intellicards-backend - A Django project bootstrapped with django-admin startproject mysite

Intellicards-backend - A Django project bootstrapped with django-admin startproject mysite

Fabrizio Torrico 2 Jan 13, 2022