pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/redmine Updating MESSAGE for redmine-3.x. There ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/72b3577aa35c
branches: trunk
changeset: 650789:72b3577aa35c
user: rodent <rodent%pkgsrc.org@localhost>
date: Sun Apr 26 14:50:28 2015 +0000
description:
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:
devel/redmine/MESSAGE | 21 ++++++++++++++++-----
1 files changed, 16 insertions(+), 5 deletions(-)
diffs (52 lines):
diff -r e04ab863a1d1 -r 72b3577aa35c devel/redmine/MESSAGE
--- a/devel/redmine/MESSAGE Sun Apr 26 14:38:21 2015 +0000
+++ b/devel/redmine/MESSAGE Sun Apr 26 14:50:28 2015 +0000
@@ -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 @@
$ 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 @@
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.
Home |
Main Index |
Thread Index |
Old Index