OSMHM \ U现场
osmhm_site的Python项目详细描述
简介
这是用于[OSM霍尔监视器](https://github.com/ethan-nelson/osm_hall_monitor)监视包的前端。网站不使用命令行来添加跟踪或查看日志事件的内容,而是提供了通过OSM身份验证添加任何可跟踪的内容、查看日志事件和支持对此数据的限制的功能。
安装
注意:python是必需的,强烈建议使用virtualenv。
- cd osmhm_站点
- virtualenv环境
- env/bin/python setup.py develop
- env/bin/initialize_osmhm_db development.ini
- env/bin/pserve development.ini
依赖项包括[osm diff tool](https://github.com/ethan-nelson/osm_diff_tool)和[osm hall monitor](https://github.com/ethan-nelson/osm_hall_monitor)。
部署到云服务
存储库包含一个[procfile](https://devcenter.heroku.com/articles/procfile)和示例脚本,用于运行web和进程工作器(包括自定义sendgrid实现)。一旦部署了repo,就需要运行initialize_db.py脚本来准备数据库。然后,第一个登录的用户将被设置为服务器所有者。