Skip to content
/ kele Public

#LearnWithBeans Django & DRF

Notifications You must be signed in to change notification settings

trellixio/kele

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kele API

Setup

  1. Create virtual environment:

    virtualenv --python=python3.7 venv
  2. Activate virtual environment:

    source venv/bin/activate
  3. Install dependencies:

    pip install -r requirements.txt
  4. Create media root directory:

    mkdir -p /var/www/kele/media
    chmod -R 777 /var/www/kele/
  5. Define the JWT_SECRET env var. Refer to this link https://www.grc.com/passwords.htm.
  6. Run migrations:

    python manage.py migrate
  7. Run the project:

    python manage.py runserver

About

#LearnWithBeans Django & DRF

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages