Skip to content

Customize GBIF's Integrated Publishing Toolkit (IPT) with alternative freemarker and css files

License

Notifications You must be signed in to change notification settings

Canadensys/ipt-customization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ipt-customizations

Customize the Global Biodiversity Information Facility's Integrated Publishing Toolkit (IPT) v. 2.3.5 with alternative freemarker, css, and js. A similar set of customized files was produced for IPT v.2.3.2, v.2.1.1, v. 2.0.5 and v. 2.0.3 and are available from previous releases.

This patch is specific to IPT 2.3.5 and the Canadensys IPT install. It is provided here to illustrate how the Canadensys team coordinates its IPT customization and for its version control.

Copy canadensys_ipt_2.3.5.patch into the Tomcat directory for your IPT (i.e. where you have its META-INF, WEB-INF, images, js, and styles directories). Ensure that git has been initialized for this directory and all files added and committed to its git index, then execute instructions from https://ariejan.net/2009/10/26/how-to-create-and-apply-a-patch-with-git/.

Resume steps to create:

  1. $ git clone https://github.com/gbif/ipt.git
  2. $ cd ipt
  3. Create a branch: $ git checkout -b canadensys_ipt_x.x.x
  4. Create your modifications and commit them on the new branch
  5. Create your patch: $ git format-patch master --stdout > canadensys_ipt_x.x.x.patch

Resume steps to apply:

  1. Go to your ipt deployed website then initiate a git repository: # git init
  2. Create first commit: # git add -A && git commit -m "IPT first commit"
  3. # git apply --stat canadensys_ipt_x.x.x.patch
  4. # git apply --check canadensys_ipt_x.x.x.patch
  5. Apply the patch# git am --signoff < canadensys_ipt_x.x.x.patch

(Thanks to ARIEJAN DE VROOM)

All images, css, or JS are now on Canadensys Layout common

This patch was made by following David P. Shorthouse recommendations.

See LICENSE.

About

Customize GBIF's Integrated Publishing Toolkit (IPT) with alternative freemarker and css files

Resources

License

Stars

Watchers

Forks

Packages

No packages published