- update & restart
fab -H XXX.XXX.XXX.XXX deploy
- update
fab update
- nginx reload
fab nginx:reload
- bot restart
fab bot:restart
- install python
pyenv install
- venv & install requirements
python -m venv venv
. venv/bin/activate
pip install -r requirements.txt
- setup db
./script/setup_db
- Web
./script/localup
- Bot
python script/bot.py