yukyo0821 6bce2e24c7 [220504] 編輯器下方增加編輯完成按鈕 | 2 years ago | |
---|---|---|
backstage | 2 years ago | |
.gitignore | 3 years ago | |
README.md | 3 years ago | |
requirements.txt | 3 years ago | |
run.py | 3 years ago | |
setup.cfg | 3 years ago |
settup python bhouse-backstage development environment
python - 3.6.8
https://www.python.org/downloads/
install python virtualenv first
cd ~
mkdir .virtualenvs
cd .virtualenvs
macOS
python3.6 -m venv bhouse_backstage
source ~/.virtualenvs/bhouse_backstage/bin/activate
cd 工作目錄
git clone http://git.choozmo.com:3000/choozmo/bhouse_backstage.git
cd bhouse_backstage
pip install -r requirements.txt
請先找管理員拿config放到指定目錄(backstage/config.py, backstage/static/config.js)
python run.py