Skip to content

CoreWebDev/django-starter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Video Tutorial for this project

https://youtu.be/SQ4A7Q6_md8

Packages

Django 5.2.4
django-allauth 65.9.0
django-browser-reload 1.18.0
django-cleanup 9.0.0
django-htmx 1.23.2
pillow 11.3.0



Getting the files

Download zip file
or
git clone command (need git to be installed) and remove git folder afterwards

git clone https://github.com/andyjud/django-starter.git . && rm -rf .git




Setup

- Create Virtual Environment

# Mac
python3 -m venv venv
source venv/bin/activate
# Windows
python3 -m venv venv
(Powershell:) .\venv\Scripts\Activate.ps1
(or Command Prompt:) venv\Scripts\activate 
(or Git Bash:) source venv/Scripts/activate

- Install dependencies

pip install --upgrade pip
pip install -r requirements.txt

- Migrate to database

python manage.py migrate
python manage.py createsuperuser

- Run application

python manage.py runserver

- Generate Secret Key ( ! Important for deployment ! )

python manage.py shell
from django.core.management.utils import get_random_secret_key
print(get_random_secret_key())
exit()

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 51.7%
  • Python 48.3%