Aucune description

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

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