Skip to content

aki360P/redmine_empty_plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Sample plugin for beginner developers

Resources

License

Stars

Watchers

Forks

Packages

No packages published