Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 675 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 675 Bytes

Sociolite

Backend for a simple social media application, built using django and django-rest-framework.

Instructions to run locally

Make sure you have python 3.8 or higher installed and added to system path

  • Clone the repository
  • Create a python virtual environment (not necessary, but highly recommended): $ python -m venv venv
  • Activate the virtual environment: $ source venv/bin/activate
  • Install dependencies: $ pip install -r requirements.txt
  • Create a .env file with following content:
SECRET_KEY=<random-django-secret-key>
DEBUG=True
  • Apply migrations: $ python manage.py migrate
  • Start dev server: $ python manage.py runserver