暫無描述

deployer af53c57a04 Merge branch 'master' of http://git.choozmo.com:3000/choozmo/bhouse_api 3 年之前
models dbf4316b33 modify store_locations api to json data with url 3 年之前
.gitignore 6b6ce647f6 git ignore .DS_store 3 年之前
README.md c41d8e63a0 modify README content for more understandable 3 年之前
requirements.txt bdd784c65a add new package into requirements 3 年之前
run.py 4e79171d3a add host='0.0.0.0' into run 3 年之前
setup.cfg 52d86931b6 add basic setting for python environment 3 年之前
test_hook.txt 1e2403b59c test 3 年之前
test_post.txt 62331f9e98 delete 3 年之前

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