Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 704 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 704 Bytes

Gym Log (backend)

Local development

Setup local environment for the development process in the current directory gym-log/backend.

Create and Activate virtual environment:

Mac OS / Linux

python3.10 -m venv env
source venv/bin/activate   

Windows

virtualenv --python=/usr/bin/python3.10 venv 
venv\Scripts\activate    

Run in a terminal

pip install -r requirements.txt
python manage.py migrate
python manage.py loaddata ./core/fixtures/exercise.json
python manage.py createsuperuser
python manage.py runserver

Django models entity relationships diagram

Django models relationships