Ei kuvausta

weichen b5f71e2996 modify readme.py 3 vuotta sitten
backstage 608c808541 add parsing 敘述title 3 vuotta sitten
.gitignore 1d67399d84 ignore .pyc 3 vuotta sitten
README.md b5f71e2996 modify readme.py 3 vuotta sitten
requirements.txt cae6b1b34f add flake8 into requirements 3 vuotta sitten
run.py d8595203dc change structure, use blueprint for managing multiple app 3 vuotta sitten
setup.cfg 03e8b4553a add setup.cfg for flask style 3 vuotta sitten

README.md

settup python bhouse-backstage 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_backstage
source ~/.virtualenvs/bhouse_backstage/bin/activate

setup bhouse_backstage

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