LoginSignup
3
4

More than 5 years have passed since last update.

Redmineの補助ツール

Last updated at Posted at 2016-10-31

いろんなところで作られてると思いますが、GitHubやQiitaの使い方を覚えたり、pythonの勉強もかねて。

概要

Redmineのチケットの状況を見るツール
pluginみたいに統合されたものではなく、別マシンでデータを集めて表示するだけの仕組みです。

Y05H1/rtv

rtv-index.png

インストール

事前準備

必要なライブラリ一式を入れる
CentOS6.8(python2.6.6)で確認

# yum install python-setuptools
# easy_install pip
# pip install requests
# yum install python-dateutil
# yum install numpy
# yum install git

インストール

webサーバをインストールしてcloneする

# yum install httpd
# cd /var/www/html/
# git clone https://github.com/Y05H1/rtv.git
# /etc/init.d/httpd restart

セットアップ

redmineのapi_keyとhostを設定する

# pwd
/var/www/html/rtv/python
# cat collector.py
...
""" parameter """
redmine_api_key = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
redmine_host = 'http://127.0.0.1/'
...

使い方

Redmineからデータを取得する

# pwd
/var/www/html/rtv/python
# python collector.py 

下記にアクセスする

http://<インストールしたマシン>/rtv/
3
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
4