Docker container redmine Installation and Uninstall plugin detailed

Source: Internet
Author: User
Tags redmine

Today to tell you how to install and uninstall the plug-in in the Docker container redmine, here said Redmine is 2.x and after the version, the previous version has not been tested, so below this version of please skip.
System: CentOS 6.5 (64-bit)
Software version: Redmine 2.5.3
Redmine_ckeditor 1.0.20
Docker 1.7.1
1. Start Redmine

Docker how to start Redmine, here will not say, after all, even containers can not start, see this article is useless.

2. Copy the plugin into the Docker.

wget Https://github.com/a-ono/redmine_ckeditor/archive/1.0.20.zip
Unzip 1.0.20.zip
MV redmine_ckeditor-1.0.20 Redmine_ckeditor
Cp-r redmine_ckeditor/var/lib/docker/devicemapper/mnt/ 394bb2dec6a5941e204c9462ca58d5df49ed7a1e1a0c03809f01e9465281b4ec/rootfs/home/redmine/redmine/plugins/

3. Install the Plugin

Docker exec-it Redmine Bash
CD Home/redmine/redmine
Apt-get Update
Apt-get Install Imagemagick-y
Bundle Install--without Development test
Bundle EXEC Rake Redmine:plugins:migrate rails_env=production

If the above steps are no problem, then you can restart the Redmine, if you have any questions, please follow the prompts to solve their own.

4. Uninstall Plugin

Bundle EXEC Rake redmine:plugins:migrate name=redmine_ckeditor version=0 rails_env=production
Ps:

Note The plug-in name is the plug-in directory name

Then delete the Redmine_ckeditor folder in the plugins directory, of course, you can also do not remove the removal of the line. Finally restart the Redmine to complete the uninstall plugin.

OK, here is the installation and uninstall of the Redmine plugin.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.