Prerequisites:
- Python 3.8
Checkout the repo:
git clone https://xxx@xxx/xxx/xxx.gitInstall pipenv
pip install pipenvCreate virtualenv:
# virtualenv env
# source env/bin/activate
pipenv install
pipenv shellInstall requirements:
# pip install -r requirements.txtMigrate the database:
python manage.py migrateCreate a superuser:
python manage.py createsuperuserCollect static files from each of your applications into a single location:
python manage.py collectstaticStart the development http server
python manage.py runserver --settings=notgoogleplus.settings.developmentOpen your web browser and go to 127.0.0.1:8000/
Start the development daphne server for websocket interface server
daphne -b 127.0.0.1 -p 8001 notgoogleplus.asgi:channel_layerStart the worker servers to process websocket requests
python manage.py runworker --settings=notgoogleplus.settings.development