Skip to content

eavinti/djstarter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DJSTARTER

django-starter 🚀

Starter code for your Django projects

Features


Installation

DJSTARTER can be installed via Pip. To start, clone the repo to your local computer and change into the proper directory.

Pip

$ python -m venv .venv

$ source .venv/bin/activate

(.venv) $ pip install -r requirements.txt
(.venv) $ python manage.py migrate
(.venv) $ python manage.py createsuperuser
(.venv) $ python manage.py runserver
# Load the site at http://127.0.0.1:8000

Frontend DEV

🚨 The frontend must be running on dev to see the React and Tailwind changes 🚨

 $ cd react
 $ npm install
 $ npm start 
 # Load the react compoents at http://localhost:8080/bundle.js

Frontend Prod

 $ cd react
 $ npm run build
 # the generated bundle is in /static/js/bundle.js

Next Steps

  • Add environment variables. There are multiple packages, but I personally prefer Python Decouple.
  • Update the EMAIL_BACKEND and connect with a mail provider.

About

Starter code for your Django projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published