pkgsrc/devel/ruby-redmine42/MESSAGE
taca 059db8990a devel/ruby-redmine42: add package version 4.2.1
Note: ruby-redmine42 supports not only ruby26 but also ruby27.


Redmine is a flexible project management web application using the
Ruby on Rails framework, it is cross-platform and cross-database.

Redmine 4.2 introduces these new features in these categories:

Authentication / User accounts
* two-factor authentication.
* email domains restriction for user accounts.

Notifications
* Notify users about high issues (only).

Issues
* Bulk addition of related issues.
* Query links for subtasks on issue page.

Watchers
* Groups can be added as watchers for issues.
* Forum threads can now be watched.
* Watchers that are not going to receive a notification because they watch a
  non visible object (for ex: issue) are now marked in the UI as invalid.

Text formatting
* New toolbar button to insert a table.
* Wiki table column sorting.
* Languages in Highlighted code button in toolbar are now customizable by
  each user.

Keyboard shortcuts

* Switch between Edit/Preview tabs using Command/Ctrl + Shift + P.
* Bold, italic and underline text using Command/Ctrl + b, Command/Ctrl + i
  and Command/Ctrl + u.
* Submit a form using Ctrl+Enter / Command+Return.

Activity improvements
* UI options to filter activities by date or by user.
* Slight design improvements.

Another nice features
* Download all attachments at once.
* Auto complete wiki page links.
* Auto-select fields mapping in Importing.
* Fields with validation errors are now highlighted.
2021-06-02 16:23:48 +00:00

70 lines
2 KiB
Text

===========================================================================
$NetBSD: MESSAGE,v 1.1 2021/06/02 16:23:48 taca Exp $
To use Redmine with nginx, you will need to perform the following steps.
1. If you want to use with MySQL server (by default), install
databases/mysql5[6|7]-* 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. Set the database password for the redmine and redmine_development databases
in ${PREFIX}/${RM_DIR}/config/database.yml;
5. Create secret token and write to
${PREFIX}/${RM_DIR}/config/configuration.yml
# redmine42_generate_secret_token${RUBY_SUFFIX}.sh
# vi config/configuration.yml
[...]
secret_token: 'YOUR_SECRET_KEY'
[...]
6. Import some data to Redmine database, select your locale, and migrate the DB:
# redmine42_migrate_db${RUBY_SUFFIX}.sh
7. 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};
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;
}
}
8. Start Redmine with Unicorn.
# ${RCD_SCRIPTS_DIR}/redmine42_unicorn${RUBY_SUFFIX} start
9. Start nginx.
# ${RCD_SCRIPTS_DIR}/nginx start
10. Access Redmine with username: admin and password: admin.
===========================================================================