Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 526 Bytes

README.md

File metadata and controls

34 lines (28 loc) · 526 Bytes

demo_game

Back-end setup

Install pip packages to your virtual environment.

pip install -r backend/requirements.txt

Migrate models. (In backend folder)

python manage.py migrate

Run server. (In backend folder)

python manage.py runserver

Front-end setup

Install npm.

https://www.npmjs.com/get-npm

Install npm packages. Need to setup proxy https://jjasonclark.com/how-to-setup-node-behind-web-proxy/

cd frontend && npm install

Run. (In frontend folder)

npm run serve