git clone https://github.com/swsnu/swpp2020-team4
For now, these steps assume that you are using Windows 10 as all 4 members are developing under such environment.
Please move to 'front' directory, install npm modules with yarn, and start frontend server with yarn start
cd back
virtualenv venv
venv\Scripts\activate.bat
manage.py migrate
pip install -r requirements.txt
First, you need to have REDIS installed, and have it running in docker environment.
(~/back)
Open docker quickstart terminal and run following commands
- docker pull redis
- docker run -d -p 6379:6379 (container identifier)
- docker exec -it (container identifier) /bin/sh
- redis-server
From two other separate terminals, run two following commands
- celery -A qc_back worker --loglevel=info --pool=solo (pool 옵션은 윈도우에서만 필요함)
- celery -A qc_back beat --scheduler django_celery_beat.schedulers:DatabaseScheduler