Sem descrição

SyuanYu 0d389c4839 add thumbnail há 2 anos atrás
backstage 0d389c4839 add thumbnail há 2 anos atrás
models 2989acac0a update embed há 2 anos atrás
.gitignore 9fc740845c fixpt2 há 2 anos atrás
README.md a7d8723217 update collection há 2 anos atrás
requirements.txt 7d03f934b1 update requirements há 2 anos atrás
run.py 9fa68bedd4 initial commit há 2 anos atrás
runhttps.py 8826f28a40 add critical files for https há 2 anos atrás
setup.cfg 9fa68bedd4 initial commit há 2 anos atrás

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

注意: 此目錄內的backstage/config.py以及models/config.py, 在自己電腦內執行時請務必把部分目錄改成自己電腦的目錄,否則系統無法執行

0627 版本