For network issue, the b17r site will not be avaliable during 2019/09/01-2019/09/10 and 2019/09/26-2019/09/28. Sorry for the inconvenience.
- Download the latest back-end code:
git clone https://github.com/jianping-grp/b17r
- Download the postgres restore data: google drive or baidu yunpan
- Unzip the file (~83GB disk space will be used)
cat pgdata.tgz_* | gunzip -c > pgdata
- Move the
pgdata
folder to b17r - Run the docker container
docker-compose up -d --build
- 🎉 The server is running on
[http://0.0.0.0:8000]
the back-end api locate here and here - Now it time to setup the front-end
- Download backup file
https://pan.baidu.com/s/10BCFeaHg7lLG7ittO3reag
- Restore:
cat b17r.pgsql.gz* | gunzip | psql -U postgres -d b17r
- Custom database setting at
settings.py
pip install -r requirments
python manage.py makemigrations
python manage.py migrate
python manage.py runserver