Skip to content

donilan/redmine_hackpad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redmine plugin for include hackpad content into your wiki page by use macro.

How to install

Run the commands below:

$ cd $(REDMINE_HOME)
$ git clone https://github.com/donilan/redmine_hackpad.git plugins/redmine_hackpad

Please config your access information for hackpad before you restart redmine

you can get those information from https://domain_name.hackpad.com/ep/account/settings/ .There are three way for config that information like below:

startup your redmine after plugin is setup, setting in plugin configuration page. (RECOMMEND)

  1. Sign in as Admin.
  2. Goto plugin setting page, get into configuration page for this plugin.
  3. you will see there are three input box there.
  4. entry your API information.
  5. finish.

define them in ~/.profile, ~/.bashrc or ~/.bash_profile

export HACKPAD_CLIENT_ID=id_from_hackpad_account_settings
export HACKPAD_SECRET=secret_from_hackpad_account_settings
export HACKPAD_SITE=https://domain_name.hackpad.com

or embed those informations on start script like below

HACKPAD_CLIENT_ID=id_from_hackpad_account_settings HACKPAD_SECRET=secret_from_hackpad_account_settings HACKPAD_SITE=https://domain_name.hackpad.com RAILS_ENV=production rails start

Note: Currently you don’t have to do ‘rake db:migrate_plugins’ because this plugin does not use DB.

How to use

  1. Wherever you can use Wiki notation, you can write macro like below: {{hackpad(hackpad_hash_key)}}

Note: A hackpad hash key is the 11 character identifier at the end of the pad URL.

TODOs

  • Support more formats like txt and markdown if we really need.
  • Improve styles.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors