cwrc / Islandora-CWRC-Writer

Islandora wrapper for the CWRC-Writer.
https://github.com/cwrc/CWRC-Writer
GNU General Public License v3.0
0 stars 3 forks source link

Update Documentation after NPM Version #3

Open jefferya opened 7 years ago

jefferya commented 7 years ago

suggestions for enhancing documentation:

There is a rough pic attached that shows the interaction - is this close to what you were thinking (rough as I spent about 5min drawing).

The islandora_cwrc_writer modules uses code within the "theme", "utilities", and "js" directories to embed CWRC-Writer into a Drupal page by referencing items within the CWRC-Writer directory and overriding aspects (delegator to save/load docs).

CWRC-Writer is treated as a static library (i.e., no changes made to the CWRC-Writer directory relative to what is pulled from GitHub)

In the more general case, the "theme" for a give module (not to be confused with the theme for the site) calls/activates JS libraries located at a particular url.```

jefferya commented 7 years ago

Rough note on how to install CWRC-GitWriter

Note: fix GitHub repo names below as code moves from dev into prod

cd libraries/
git clone https://github.com/ajmacdonald/CWRC-GitWriter.git
cd CWRC-GitWriter
npm install
npm run build
cd ../modules/
git clone https://github.com/cwrc/islandora_cwrc_writer.git
drush cc all