redmine

Install Redmine on Centos 6.5

时间秒杀一切 提交于 2019-11-29 06:05:19
Install Redmine on Centos 6.5 - 64 bit Install Redmine on Centos 6.5 - 64 bit The System Requirements Update the System Install the dependencies packages Install Apache and MySQL Turn off SELinux Set up the Hostname Configuring the Firewall Install PHP and phpMyAdmin Install Ruby Install Rubygems Install Passenger Create Database for Redmine Install Redmine Setting up Rails Activate FCGI Setting up Apache and FastCGI Creating Files Directory Configuring Email Create Virtual Host for Redmine Running Redmine Install Subversion You can download this document as ebook format, read with the eReader

Windows下安装redmine

半城伤御伤魂 提交于 2019-11-28 18:23:12
系统 :WINDOWS8 64BIT redmine版本 :redmine-2.2.0(下载地址: http://rubyforge.org/frs/download.php/76629/redmine-2.2.0.zip ) 参考地址 : http://micate.me/windows-install-redmine-2.note 碰到的问题 : 下载了64位版本自己去下载了mysql-connector-c-noinstall-6.0.2-win64.zip,结果后来一直报错。所以64位系统的同学碰到这个情况,还是下载32位版本的,地址为 http://dev.mysql.com/get/Downloads/Connector-C/mysql-connector-c-noinstall-6.0.2-win32.zip/from/pick 在配置 database.yml 文件时,然后之后一直无法连接上MYSQL数据库(10061错误),可以将 production: adapter: mysql2 database: redmine_mao host: localhost username: redmine_mao password: "123123" encoding: utf8 里的host那行改成host: 127.0.0.1 输入 ruby script/rails

Redmine & Git integration

强颜欢笑 提交于 2019-11-28 15:06:58
问题 I am considering moving from svn and Trac to git and Redmine. I'm just wondering what everyone's experience is of this. How well does git integrate with Redmine? I'm pretty set on my decision to change from svn to git - our distributed work, and need to frequently branch and merge would make life considerably easier with git. But we would possibly need to split things into multiple projects for this. From what I have been reading, git and multiple projects don't integrate too smoothly with

Automatically close Redmine Task with commit comment

别等时光非礼了梦想. 提交于 2019-11-28 11:03:36
There is a feature (associated revisions) in Redmine to link commits with tasks with specific keywords typed in comment on commit: Default keywords are: * for referencing issues: refs, references, IssueID * for fixing issues: fixes, closes http://www.redmine.org/projects/redmine/wiki/RedmineSettings#Referencing-issues-in-commit-messages When I make commits (from Visual Studio 2010 + Mercurial) to the repository, all referencing keywords are working fine but “fixing issues” keywords (fixes, closes) don’t change the status to “done”. Any suggestions? marapet Log in as an admin and go to Settings

PGError: ERROR: column “p.name” must appear in the GROUP BY clause or be used in an aggregate function

我与影子孤独终老i 提交于 2019-11-28 09:22:49
问题 I get an error with this query. Why? I don't understand :( SELECT p.name, p.id, SUM(hours) AS hours, SUM(logged_hours) AS logged_hours FROM ( SELECT project_id, date, hours, null AS logged_hours FROM #{ScheduleEntry.table_name} WHERE user_id = #{User.current.id} AND date BETWEEN '%s' AND '%s' UNION SELECT project_id, spent_on AS date, null AS hours, sum(#{TimeEntry.table_name}.hours) AS logged_hours FROM #{TimeEntry.table_name} WHERE user_id = #{User.current.id} AND spent_on BETWEEN '%s' AND

How to use different rails_env with nginx, passenger and redmine

空扰寡人 提交于 2019-11-28 09:06:38
问题 I need to have redmine running in combination with nginx, phusion passenger and mysql. Because of the project requires several instances of redmine, which should be realized using different rails_env, I tried to set them in the different server vhosts with nginx. Example of one vhost: server { listen xxxx; server_name redmine.xxxxx; root /xxxxx/redmine/public; passenger_enabled on; rails_env production; } Same goes for the other server vhost, but there server_name is matched to the other

how to configure a rails app (redmine) to run as a service on windows?

纵饮孤独 提交于 2019-11-28 04:25:08
I'm using redmine as a ticket manager, and I'd like to configure it to be run automatically when windows starts up. How can I configure it to be run as a service? -- Just asked the question to document it, I hope somebody may find it useful... opensas 1. using webrick: ref: http://www.redmine.org/boards/1/topics/4123 Download and install the Windows NT Resource Kit from http://www.microsoft.com/downloads/details.aspx?familyid=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en Create the service by running this command: path\INSTSRV.EXE your_service_name path\SRVANY.EXE in my case path is: "C:

Python POST binary data

被刻印的时光 ゝ 提交于 2019-11-27 17:59:08
I am writing some code to interface with redmine and I need to upload some files as part of the process, but I am not sure how to do a POST request from python containing a binary file. I am trying to mimic the commands here : curl --data-binary "@image.png" -H "Content-Type: application/octet-stream" -X POST -u login:password http://redmine/uploads.xml In python (below), but it does not seem to work. I am not sure if the problem is somehow related to encoding the file or if something is wrong with the headers. import urllib2, os FilePath = "C:\somefolder\somefile.7z" FileData = open(FilePath,

Automatically close Redmine Task with commit comment

半城伤御伤魂 提交于 2019-11-27 05:55:46
问题 There is a feature (associated revisions) in Redmine to link commits with tasks with specific keywords typed in comment on commit: Default keywords are: * for referencing issues: refs, references, IssueID * for fixing issues: fixes, closes http://www.redmine.org/projects/redmine/wiki/RedmineSettings#Referencing-issues-in-commit-messages When I make commits (from Visual Studio 2010 + Mercurial) to the repository, all referencing keywords are working fine but “fixing issues” keywords (fixes,

how to configure a rails app (redmine) to run as a service on windows?

流过昼夜 提交于 2019-11-27 05:20:04
问题 I'm using redmine as a ticket manager, and I'd like to configure it to be run automatically when windows starts up. How can I configure it to be run as a service? -- Just asked the question to document it, I hope somebody may find it useful... 回答1: 1. using webrick: ref: http://www.redmine.org/boards/1/topics/4123 Download and install the Windows NT Resource Kit from http://www.microsoft.com/downloads/details.aspx?familyid=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en Create the service