Stickie~Flow (http://www.stickieflow.net) ist eine agile Methode, die einen ganzheitlichen Einsatz unterstützt.
Man muss also die Redmine Installation -- genauer gesagt die Datenbank -- zur Mitarbeit überreden. Da es so am einfachsten war, habe ich einfach mal eine Kurzanleitung für eine komplette Redmine Installation gemacht. Man sollte allerdings schon wissen, was man tut und die Originalanleitungen der Website berücksichtigen.
Meine Installationen finden derzeit unter Debian Wheezy oder Jessie statt, sollten aber für andere Systeme adaptierter sein!
Dann in my.cnf (/etc or /usr/local/etc) die INNO_DB Indizes umsetzen auf einen größeren Byte Satz:
[Mysqld]
innodb_file_per_table = 1
innodb_file_format = barracuda
innodb_large_prefix = 1mysql -u root -p:CREATE DATABASE redmine CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE USER 'redmine'@'localhost' IDENTIFIED BY 'my_password';
GRANT ALL PRIVILEGES ON redmine.* TO 'redmine'@'localhost';/opt/redmine installieren.
Ich installiere es typischerweise unter /opt/redmine-3.x.0 (Versionsnummer) und setze dann mit ln -s /opt/redmine-3.x.0 /opt/redmine einen Symbolic Link. Das erleichtert hinterher den Upgrade auf eine neuere Version!
Unter /opt/redmine
Dann anlegen: /opt/redmine/config/database.yml mit Inhalt:
production:
adapter: mysql2
database: redmine
host: 127.0.0.1
username: redmine
password: my_password/opt/redmine/config/initializers/enable_urf8mb4.rb mit Inhalt:ActiveSupport.on_load :active_record do
  module ActiveRecord::ConnectionAdapters
    class AbstractMysqlAdapter
      def create_table_with_innodb_row_format(table_name, options = {})
        table_options = options.reverse_merge(:options => 'ENGINE=InnoDB ROW_FORMAT=DYNAMIC')
        create_table_without_innodb_row_format(table_name, table_options) do |td|
          yield td if block_given?
        end
      end
      alias_method_chain :create_table, :innodb_row_format
    end
  end
end
root:# apt-get install ruby
# apt-get install libmariadb-client-lgpl-dev
# apt-get install ruby-rmagick
# apt-get install libmagickcore-dev
# apt-get install libmagickwand-dev
# apt-get install rails
# apt-get install imagemagick
# gem install bundler
# gem install rmagickredmine anlegenadduser redmine einen Benutzer anlegen sofern er nicht schon existiert. Die Redmine Instanz soll hinterher unter diesem Benutzer laufen.
Als Benutzer redmine in /opt/redmine:
$ bundle install --path vendor/bundle --without development test
$ bundle exec rake generate_secret_token
$ RAILS_ENV=production bundle exec rake db:migrate
$ RAILS_ENV=production REDMINE_LANG=de bundle exec rake redmine:load_default_dataredmine_agilestickie_flowclipboard_image_paste (optional)/opt/redmine/plugins installiert:redmine:$ cd /opt/redmine
$ bundle install --path vendor/bundle --without development test
$ bundle exec rake redmine:plugins:migrate RAILS_ENV=production/opt/redmine/public/themes/ installiert.
Kommentar: alle Objekte die auf Github liegen kann man am schnellsten mit git installieren: Einfach cd <verzeichnis>; git clone <github-URL>.
# rm plugins/redmine_agile/app/views/agile_boards/_upgrade_to_pro.html.erb
# touch plugins/redmine_agile/app/views/agile_boards/_upgrade_to_pro.html.erbcd /opt/redmine
bundle exec rails server webrick -e production^C./etc/apache2/sites-enabled/030-redmine.conf):<VirtualHost *:80>
        ServerName myhost.local
        ServerAdmin webmaster@myhost.local
        DocumentRoot /opt/redmine/public
        PassengerDefaultUser redmine
        RailsEnv production
        RailsBaseURI /
        Options -MultiViews
        # Uncomment this if you're on Apache >= 2.4:
        #Require all granted
        ErrorLog ${APACHE_LOG_DIR}/redmine-error.log
        LogLevel warn
        CustomLog ${APACHE_LOG_DIR}/redmine-access.log combined
</VirtualHost>
/etc/apache2/sites-enabled/000-default.conf einfügen:        Alias /redmine /opt/redmine/public
        <Location /redmine>
                PassengerUser redmine
                PassengerGroup redmine
                PassengerBaseUri /redmine
                PassengerAppRoot /opt/redmine
        </Location>
        <Directory /opt/redmine/public>
                   Allow from all
                   Options -MultiViews
                   # Uncomment this if you're on Apache >= 2.4:
                   #Require all granted
        </Directory>
Kommentare
Thomas Koch 9 Jahre, 7 Monate her
Gute Arbeit!
Link | AntwortPeter Pfläging 9 Jahre, 7 Monate her
Danke ;-)
Link | AntwortNeuer Kommentar