Skip to content

BIN-PDT/WEBAPP_DJANGO_STARTER

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1. PROJECT

git clone https://github.com/BIN-PDT/WEBAPP_DJANGO_STARTER.git && rm -rf WEBAPP_DJANGO_STARTER/.git

For privacy reasons, replace the sensitive information in this project with your own.

  • Register OAuth Application with each Social Provider to obtain CLIENT_ID & CLIENT_SECRET.

  • Replace EMAIL_ADDRESS & EMAIL_PASSWORD (Application Password) with your Gmail Account.

  • Generate SECRET_KEY.

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

2. VIRTUAL ENVIRONMENT

python -m venv .venv
.venv\Scripts\activate.bat

3. DEPENDENCY

python.exe -m pip install --upgrade pip
pip install -r requirements.txt

4. DATABASE

python manage.py migrate

5. RUN APPLICATION

python manage.py runserver

About

A BOILERPLATE FOR DJANGO PROJECT

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors