Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A Hipchat bot for accessing Glassfrog

License

NotificationsYou must be signed in to change notification settings

wardweistra/hipfrog

Repository files navigation

Hipfrog

Build Status

codecov

An open sourceHipchat bot for accessing theHolacracy toolGlassfrog.

Installation in your Hipchat room

Followhttps://marketplace.atlassian.com/plugins/hipfrog to install the plugin in your Hipchat room.

Development

Hipfrog is usingGlassfrog API V3 beta. Tested on Python 3.5.2.

  • Download:git clone https://github.com/wardweistra/hipfrog.git
  • Install:python3 setup.py install
  • Create and upgrade the database withFlask-Migrate. Tested on Postgres.
  • Test:python3 tests/glassfrog_tests.py
  • Run:python3 runserver.py --debug

Environment settings

Default settings are found atglassfrog/settings/config.py. Set your own by following the steps insettings.cfg.

Deployment

Hipfrog can be deployed to run your own managed version of it with Apache2.

Example hipfrog.wsgi (at /var/www/hipfrog/ where application at /var/www/hipfrog/hipfrog/ and dependencies installed with virtualenv):

#!/usr/bin/env python3activate_this = '/var/www/hipfrog/hipfrog/venv/bin/activate_this.py'with open(activate_this) as file_:        exec(file_.read(), dict(__file__=activate_this))import sysimport loggingimport oslogging.basicConfig(stream=sys.stderr)sys.path.insert(0,"/var/www/hipfrog/hipfrog/")os.environ["HIPFROG_SETTINGS"] = "/var/www/hipfrog/hipfrog/prod_settings.cfg"from glassfrog import app as application

Example hipfrog.conf (at /etc/apache2/sites-available):

WSGIPythonHome "/var/www/hipfrog/hipfrog/venv/bin"WSGIPythonPath "/var/www/hipfrog/hipfrog/venv/lib/python3.5/site-packages"Listen 45277<VirtualHost *:443>        ServerName host.wardweistra.nl        ServerAdmin w@rdweistra.nl        WSGIScriptAlias /hipfrog /var/www/hipfrog/hipfrog.wsgi        WSGIDaemonProcess hipfrog-ssl user=ward threads=5        <Directory /var/www/hipfrog/hipfrog/>            Order allow,deny            Allow from all        </Directory>        Alias /static /var/www/hipfrog/hipfrog/glassfrog/static        <Directory /var/www/hipfrog/hipfrog/glassfrog/static/>            Order allow,deny            Allow from all        </Directory>        ErrorLog ${APACHE_LOG_DIR}/error.log        LogLevel warn        CustomLog ${APACHE_LOG_DIR}/access.log combinedSSLCertificateFile /etc/letsencrypt/live/host.wardweistra.nl/fullchain.pemSSLCertificateKeyFile /etc/letsencrypt/live/host.wardweistra.nl/privkey.pemInclude /etc/letsencrypt/options-ssl-apache.conf</VirtualHost>

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp