-
python3.6+
-
django2.2
git clone https://github.com/wuyue92tree/rest_backend.git
cd rest_backend
pip install -r requirements.txt
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver
API地址: https://127.0.0.1:8000/api/docs/
git clone https://github.com/wuyue92tree/rest_backend.git
cd rest_backend
docker build -t rest_backend .
docker run -tid -v <your-log-path>:/data/src/log -p 80:80 rest_backend