Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 577 Bytes

README.md

File metadata and controls

42 lines (30 loc) · 577 Bytes

Sport APP

Setup

  1. Activate the virtual envirnoment
source your-env/bin/activate
  1. Install the requirements
pip freeze -r requirements.txt
  1. Migrate the migrations by running this command
python manage.py migrate
  1. Run app
python manage.py runserver

Run with docker

  1. Build image
docker build -t my-django-app .

It takes some time.

  1. Run cmd
docker run -p 8000:8000 my-django-app

Then you can paste the http://127.0.0.1:8000/ on browser

Note: Before running with docker you need to run the migrations