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
This is a basic Todo Application API using Django Rest Framework

Todo Application This is a basic Todo Application API using Django Rest Framework. Todo Section - User can View his previously added todo items, creat

Atharva Parkhe 1 Aug 09, 2022
A real-time photo feed using Django and Pusher

BUILD A PHOTO FEED USING DJANGO Here, we will learn about building a photo feed using Django. This is similar to instagram, but a stripped off version

samuel ogundipe 4 Jan 01, 2020
Phoenix LiveView but for Django

Reactor, a LiveView library for Django Reactor enables you to do something similar to Phoenix framework LiveView using Django Channels. What's in the

Eddy Ernesto del Valle Pino 526 Jan 02, 2023
Add Chart.js visualizations to your Django admin using a mixin class

django-admincharts Add Chart.js visualizations to your Django admin using a mixin class. Example from django.contrib import admin from .models import

Dropseed 22 Nov 22, 2022
A set of functions related with Django

django-extra-tools Table of contents Installation Quick start Template filters parse_datetime parse_date parse_time parse_duration Aggregation First L

Tomasz Jakub Rup 3 Mar 04, 2020
Django backend of Helium's planner application

Helium Platform Project Prerequisites Python (= 3.6) Pip (= 9.0) MySQL (= 5.7) Redis (= 3.2) Getting Started The Platform is developed using Pytho

Helium Edu 17 Dec 14, 2022
Django based webapp pulling in crypto news and price data via api

Deploy Django in Production FTA project implementing containerization of Django Web Framework into Docker to be placed into Azure Container Services a

0 Sep 21, 2022
Django API that scrapes and provides the last news of the city of Carlos Casares by semantic way (RDF format).

"Casares News" API Api that scrapes and provides the last news of the city of Carlos Casares by semantic way (RDF format). Usage Consume the articles

Andrés Milla 6 May 12, 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
A simple porfolio with Django, Bootstrap and Sqlite3

Django Portofolio Example this is a basic portfolio in dark mode Installation git clone https://github.com/FaztWeb/django-portfolio-simple.git cd djan

Fazt Web 16 Sep 26, 2022
Automatically reload your browser in development.

django-browser-reload Automatically reload your browser in development. Requirements Python 3.6 to 3.10 supported. Django 2.2 to 4.0 supported. Are yo

Adam Johnson 254 Jan 04, 2023
A slick ORM cache with automatic granular event-driven invalidation.

Cacheops A slick app that supports automatic or manual queryset caching and automatic granular event-driven invalidation. It uses redis as backend for

Alexander Schepanovski 1.7k Jan 03, 2023
A simple Blog Using Django Framework and Used IBM Cloud Services for Text Analysis and Text to Speech

ElhamBlog Cloud Computing Course first assignment. A simple Blog Using Django Framework and Used IBM Cloud Services for Text Analysis and Text to Spee

Elham Razi 5 Dec 06, 2022
A tool to automatically fix Django deprecations.

A tool to help upgrade Django projects to newer version of the framework by automatically fixing deprecations. The problem When maintaining a Django s

Bruno Alla 155 Dec 14, 2022
Djangoblog - A blogging platform built on Django and Python.

djangoblog 👨‍💻 A blogging platform built on Django and Python

Lewis Gentle 1 Jan 10, 2022
Quick example of a todo list application using Django and HTMX

django-htmx-todo-list Quick example of a todo list application using Django and HTMX Background Modified & expanded from https://github.com/jaredlockh

Jack Linke 54 Dec 10, 2022
Basic Form Web Development using Python, Django and CSS

thebookrain Basic Form Web Development using Python, Django and CSS This is a basic project that contains two forms - borrow and donate. The form data

Ananya Dhulipala 1 Nov 27, 2021
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

Areski Belaid 167 Nov 10, 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
The Django Leaflet Admin List package provides an admin list view featured by the map and bounding box filter for the geo-based data of the GeoDjango.

The Django Leaflet Admin List package provides an admin list view featured by the map and bounding box filter for the geo-based data of the GeoDjango. It requires a django-leaflet package.

Vsevolod Novikov 33 Nov 11, 2022