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

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
ProjectManagementWebsite - Project management website for CMSC495 built using the Django stack

ProjectManagementWebsite A minimal project management website for CMSC495 built

Justin 1 May 23, 2022
Developer-friendly asynchrony for Django

Django Channels Channels augments Django to bring WebSocket, long-poll HTTP, task offloading and other async support to your code, using familiar Djan

Django 5.5k Jan 06, 2023
A Django/Python web app that functions as a digital diary

My Django Diary Full-stack web application that functions as a digital diary using Django, Python, SQLite, HTML & CSS. Things I learned during this pr

1 Sep 30, 2022
Code coverage measurement for Python

Coverage.py Code coverage testing for Python. Coverage.py measures code coverage, typically during test execution. It uses the code analysis tools and

Ned Batchelder 2.3k Jan 05, 2023
Strawberry-django-plus - Enhanced Strawberry GraphQL integration with Django

strawberry-django-plus Enhanced Strawberry integration with Django. Built on top

BLB Ventures 138 Dec 28, 2022
webfest Django project @innovaccer

inno-doctor webfest Django project @innovaccer setup guide create new directory for project clone the repo with url into the directory make sure pytho

Rohit sahu 6 Oct 28, 2022
Updates redisearch instance with igdb data used for kimosabe

igdb-pdt Update RediSearch with IGDB games data in the following Format: { "game_slug": { "name": "game_name", "cover": "igdb_coverart_url",

6rotoms 0 Jul 30, 2021
User Authentication In Django/Ajax/Jquery

User Authentication In Django/Ajax/Jquery Demo: Authentication System Using Django/Ajax/Jquery Demo: Authentication System Using Django Overview The D

Suman Raj Khanal 10 Mar 26, 2022
Stream Framework is a Python library, which allows you to build news feed, activity streams and notification systems using Cassandra and/or Redis. The authors of Stream-Framework also provide a cloud service for feed technology:

Stream Framework Activity Streams & Newsfeeds Stream Framework is a Python library which allows you to build activity streams & newsfeeds using Cassan

Thierry Schellenbach 4.7k Jan 02, 2023
Pipeline is an asset packaging library for Django.

Pipeline Pipeline is an asset packaging library for Django, providing both CSS and JavaScript concatenation and compression, built-in JavaScript templ

Jazzband 1.4k Jan 03, 2023
A package to handle images in django

Django Image Tools Django Image Tools is a small app that will allow you to manage your project's images without worrying much about image sizes, how

The Bonsai Studio 42 Jun 02, 2022
A Django app to accept payments from various payment processors via Pluggable backends.

Django-Merchant Django-Merchant is a django application that enables you to use multiple payment processors from a single API. Gateways Following gate

Agiliq 997 Dec 24, 2022
Django friendly finite state machine support

Django friendly finite state machine support django-fsm adds simple declarative state management for django models. If you need parallel task executio

Viewflow 2.1k Dec 31, 2022
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

Nikit Singh Kanyal 6 Oct 09, 2022
Django app for building dashboards using raw SQL queries

django-sql-dashboard Django app for building dashboards using raw SQL queries Brings a useful subset of Datasette to Django. Currently only works with

Simon Willison 383 Jan 06, 2023
Adding Firebase Cloud Messaging Service into a Django Project

Adding Firebase Cloud Messaging Service into a Django Project The aim of this repository is to provide a step-by-step guide and a basic project sample

Seyyed Ali Ayati 11 Jan 03, 2023
Django Persistent Filters is a Python package which provide a django middleware that take care to persist the querystring in the browser cookies.

Django Persistent Filters Django Persistent Filters is a Python package which provide a django middleware that take care to persist the querystring in

Lorenzo Prodon 2 Aug 05, 2022
CRUD with MySQL, Django and Sass.

CRUD with MySQL, Django and Sass. To have the same data in db: insert into crud_employee (first_name, last_name, email, phone, location, university) v

Luis QuiƱones Requelme 1 Nov 19, 2021
This is a repository for collecting global custom management extensions for the Django Framework.

Django Extensions Django Extensions is a collection of custom extensions for the Django Framework. Getting Started The easiest way to figure out what

Django Extensions 6k Dec 26, 2022
Improved Django model inheritance with automatic downcasting

Polymorphic Models for Django Django-polymorphic simplifies using inherited models in Django projects. When a query is made at the base model, the inh

1.4k Jan 03, 2023