create database dormer_web
cd dormer_web
echo development > env # manage.py 同级目录
cd configure
cp example.ini development.ini # 与env同名
vim development.ini
mkdir /var/log/dormer-web
python3 -m venv venv
source venv/bin/activate
python3 manage.py migrate
cd frontend && npm run dev
source venv/bin/activate
python3 manage.py runserver:8000
http://localhost:9090
cd dormer_web
echo production > env # manage.py 同级目录
cd configure
cp example.ini production.ini # 与env同名
vim production.ini
mkdir /var/log/dormer-web
python3 server.py migrate
python3 server.py start|stop|restart
http://ip:9090