pkgsrc/devel/ruby-redmine/MESSAGE
ryoon 51c5600738 Updateto 3.1.0
Changelog:
Redmine 3.1.0 released

I am happy to announce that Redmine 3.1.0 has been released. Highlights:

    Subtasking: option for independent subtask priority/start date/due date/done ratio (#5490), ability to filter the issue list by parent task or subtasks (#6118)
    Permission to view only your own time logs (#8929)
    Better handling of HTML-only emails (#16962), nokogiri is now used to parse incoming HTML
    Ability to limit the member management permission to certain roles (#19707)
    Security features (optional settings): ability to expire passwords after a configurable number of days (#19458), password re-entry for sensitive actions (#19851)

You can review all the changes in the Changelog.

About the maintenance of previous Redmine versions: 3.0.x maintenance will stop in favor of 3.1.x soon but Redmine 2.6.x will still be maintained until at least the end of 2015.
2015-08-13 12:22:13 +00:00

95 lines
2.5 KiB
Text

===========================================================================
$NetBSD: MESSAGE,v 1.2 2015/08/13 12:22:13 ryoon Exp $
To use Redmine with nginx, you will need to perform the following steps.
0. Fix some of the Redmine gems (this step will be removed eventually):
# redmine_fix_gems${RUBY_SUFFIX}.sh
1. If you want to use with MySQL server (by default), install
databases/mysql5[1|5|6]-* and enable it. Then, create the database.
2. Install nginx httpd server, www/nginx.
3. Setup Redmine database:
$ mysql -u root -p
> create database redmine character set utf8;
> create database redmine_development character set utf8;
> create user 'redmine'@'localhost' identified by 'redmine_password';
> grant all privileges on redmine.* to 'redmine'@'localhost';
> grant all privileges on redmine_development.* to 'redmine'@'localhost';
4. Write authentication information to
${PREFIX}/${RM_DIR}/app/config/database.yml:
# vi ${PREFIX}/${RM_DIR}/app/config/database.yml
production:
adapter: mysql2
database: redmine
host: localhost
username: redmine
password: "redmine_password"
encoding: utf8
development:
adapter: mysql2
database: redmine_development
host: localhost
username: redmine
password: "redmine_password"
encoding: utf8
5. Create secret token and write to
${PREFIX}/${RM_DIR}/app/config/configuration.yml and secrets.yml
# redmine_generate_secret${RUBY_SUFFIX}.sh
# vi config/configuration.yml
[...]
secret_token: 'YOUR_SECRET_KEY'
[...]
# vi config/secrets.yml
[...]
production:
secret_key_base: 'YOUR_SECRET_KEY'
[...]
6. Import some data to Redmine database, select your locale, and migrate the DB:
# redmine_migrate_db${RUBY_SUFFIX}.sh
6. Setup nginx.
# vi ${PREFIX}/etc/nginx/nginx.conf
http {
upstream unicorn_redmine {
server unix:${PREFIX}/${RM_DIR}/unicorn.redmine.sock fail_timeout=0;
}
server {
listen 80;
server_name localhost;
root ${PREFIX}/${RM_DIR}/app;
try_files $uri @unicorn_redmine;
location @unicorn_redmine {
proxy_set_header Host $http_host;
proxy_pass http://unicorn_redmine;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root share/examples/nginx/html;
}
}
7. Start Redmine with Unicorn.
# ${RCD_SCRIPTS_DIR}/redmine_unicorn${RUBY_SUFFIX} start
8. Start nginx.
# ${RCD_SCRIPTS_DIR}/nginx start
9. Access Redmine with username: admin and password: admin.
===========================================================================