前端web
npm config set registry https://registry.npmjs.org/
然后npm run dev
后端backend
(那个python路径是我python路径。)
(要先把数据库表放进数据库然后运行才能跑起来)
pip3 install -r requirements.txt
然后D:\python\python.exe manage.py makemigrations system
然后D:\python\python.exe manage.py migrate
然后D:\python\python.exe manage.py init
(已经按流程跑过一遍之后,下次跑可以直接从这开始,但是数据库还是要提前开的)
然后D:\python\python.exe manage.py init_area
然后D:\python\python.exe manage.py runserver 0.0.0.0:8000
跑起来之后就可以在apifox运行里面写好的接口了