weichen bc45d95711 add bhouse_server into config, then change src=localhost to bhouse_server | %!s(int64=3) %!d(string=hai) anos | |
---|---|---|
backstage | %!s(int64=3) %!d(string=hai) anos | |
.gitignore | %!s(int64=3) %!d(string=hai) anos | |
README.md | %!s(int64=3) %!d(string=hai) anos | |
requirements.txt | %!s(int64=3) %!d(string=hai) anos | |
run.py | %!s(int64=3) %!d(string=hai) anos | |
setup.cfg | %!s(int64=3) %!d(string=hai) anos |
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放到指定目錄
python run.py