Skip to content

This is the official Quartz OA plugin to enable micropayments to your OJS Open Access journals.

Notifications You must be signed in to change notification settings

DecentralizedScience/QuartzOA-OJS-Plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quartz Open Access OJS plugin

This is the official Quartz OA plugin to enable micropayments to your Open Access journals.

Install Plugin

To install the plugin follow these Install Instructions.

Build Plugin

Download submodule:

git submodule update --init --recursive

Copy and update config file:

cp Quartz-platform/src/components/config.json.example Quartz-platform/src/components/config.json

Then, update Quartz-platform/src/components/config.json file with the ILP Wallet account and PayPal account email information.

To build the plugin, run:

npm install --prefix Quartz-platform
PUBLIC_URL="../../plugins/blocks/quartzOA/build/"
npm --prefix Quartz-platform run build
rm -r QuartzOAPlugin/build/*
rsync -a Quartz-platform/build/* QuartzOAPlugin/build/
sed -i '1s/^/{literal}/' QuartzOAPlugin/build/index.html
sed -i -e '$a{/literal}' QuartzOAPlugin/build/index.html

Then, compress as .tar.gzfile QuartzOA directory, and the plugin is ready to be installed, enabled and added to the side bar of your OJS journal:

tar -czvf QuartzOAPlugin.tar.gz QuartzOAPlugin

About

This is the official Quartz OA plugin to enable micropayments to your OJS Open Access journals.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 84.6%
  • Smarty 15.4%