No Description

weichen 127a840188 add parsers and validators into utils 3 years ago
models 127a840188 add parsers and validators into utils 3 years ago
.gitignore 6b6ce647f6 git ignore .DS_store 3 years ago
README.md c41d8e63a0 modify README content for more understandable 3 years ago
requirements.txt 52d86931b6 add basic setting for python environment 3 years ago
run.py 23aa6afd3f setup initial run.py 3 years ago
setup.cfg 52d86931b6 add basic setting for python environment 3 years ago

README.md

settup python bhouse-api development environment

python - 3.6.8
https://www.python.org/downloads/
install python virtualenv first


setup virtualenvs

cd ~
mkdir .virtualenvs
cd .virtualenvs

macOS
python3.6 -m venv bhouse_api
source ~/.virtualenvs/bhouse_api/bin/activate

setup bhouse_backstage

cd 工作目錄 git clone http://git.choozmo.com:3000/choozmo/bhouse_api.git
cd bhouse_api
pip install -r requirements.txt
請先找管理員拿config放到指定目錄

執行

python run.py