/redmine_empty_plugin

Sample plugin for beginner developers

Primary LanguageRubyMIT LicenseMIT

redmine_empty_plugin

This is a sample plugin for beginner developers.

Features

  • Project module and project setting tab
  • Load global setting and project setting
  • Index page
  • Redmine 4.x and 3.x compatible

Screenshots

Overview

sample screenshot sample screenshot

Installation notes

Install

  1. go to plugins folder
git clone https://github.com/aki360P/redmine_empty_plugin.git
  1. bundle install (skip option see below)
bundle install
  1. migration
rake redmine:plugins:migrate NAME=redmine_empty_plugin RAILS_ENV=production
  1. restart server

How to skip bundle install

  • delete Gemfile in ./plugins/redmine_empty_plugin
  • change source code 00x_XxxxXxxxx.rb in ./plugins/redmine_empty_plugin/db/migrate. First line needs to be changed according to your rails version
 class CreateTable < ActiveRecord::CompatibleLegacyMigration.migration_class
  #for redmine 3x,  class CreateTable < ActiveRecord::Migration
  #for redmine 4x,  class CreateTable < ActiveRecord::Migration[4.2]

UnInstall

rake redmine:plugins:migrate NAME=redmine_empty_plugin VERSION=0 RAILS_ENV=production