diff options
author | rodent <rodent@pkgsrc.org> | 2015-04-26 14:50:28 +0000 |
---|---|---|
committer | rodent <rodent@pkgsrc.org> | 2015-04-26 14:50:28 +0000 |
commit | 3a321956d602b2fd3b06a1ef6bcb001e58f1e60b (patch) | |
tree | a36f3f02b1afff277ec4112189a32d4ad9e3acf6 /devel | |
parent | 28c22825141fdbed3e8dbeeb0152481734499762 (diff) | |
download | pkgsrc-3a321956d602b2fd3b06a1ef6bcb001e58f1e60b.tar.gz |
Updating MESSAGE for redmine-3.x. There were some steps missing here which
are necessary to make the package work and avoid any confusion on the part
of the user. More changes for this package forthcoming.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/redmine/MESSAGE | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/devel/redmine/MESSAGE b/devel/redmine/MESSAGE index 0fdf4655264..26a637b04bb 100644 --- a/devel/redmine/MESSAGE +++ b/devel/redmine/MESSAGE @@ -1,5 +1,5 @@ =========================================================================== -$NetBSD: MESSAGE,v 1.3 2015/03/29 08:30:01 ryoon Exp $ +$NetBSD: MESSAGE,v 1.4 2015/04/26 14:50:28 rodent Exp $ To use Redmine with nginx, you will need to perform the following steps. @@ -12,8 +12,10 @@ To use Redmine with nginx, you will need to perform the following steps. $ 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}/share/redmine/app/config/database.yml . @@ -25,17 +27,26 @@ To use Redmine with nginx, you will need to perform the following steps. 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. +5. Create secret token and write to + ${PREFIX}/share/redmine/app/config/configuration.yml . # cd ${PREFIX}/share/redmine/app # GEM_HOME=${PREFIX}/share/redmine/gems \ GEM_PATH=${PREFIX}/share/redmine/gems \ ${PREFIX}/bin/rake22 secret - # cat config/secrets.yml - production: - secret_key_base: YOUR_SECRET_KEY + # vi config/configuration.yml + [...] + secret_token: YOUR_SECRET_KEY + [...] 6. Import some data to Redmine database, and select your locale. |