Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/archivesspace-labs/assets_reroute
A plugin to reroute the frontend and public UI asset pipeline ( needed for Tomcat7 )
https://github.com/archivesspace-labs/assets_reroute
Last synced: 22 days ago
JSON representation
A plugin to reroute the frontend and public UI asset pipeline ( needed for Tomcat7 )
- Host: GitHub
- URL: https://github.com/archivesspace-labs/assets_reroute
- Owner: archivesspace-labs
- Created: 2014-11-13T10:43:34.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-02T12:01:29.000Z (about 9 years ago)
- Last Synced: 2024-02-25T20:38:31.612Z (4 months ago)
- Language: Ruby
- Size: 152 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Lists
- awesome-archivesspace - ArchivesSpace Assets Reroute Plugin
README
ArchivesSpace Assets Reroute Plugin
======================================**Special thanks to Mark Triggs from Hudson Molongo for putting this together**
This is a plugin to reroute the Rails asset pipeline in the ASpace frontend and
public UI to use plugin assets. It's specificly designed to allow plugin assets
to be servered by Tomcat7.[Additional Information About Running Under
Tomcat](https://github.com/archivesspace/archivesspace/blob/master/README_TOMCAT.md)[SUBSCRIBE TO UPDATES](https://github.com/archivesspace/assets_reroute/commits/master.atom)
Usage
-----Access the ArchivesSpace plugins directory.
```
cd /path/to/archivesspace/plugins
```Download using git (recommended)
--------------------------------```
git clone https://github.com/archivesspace/assets_reroute.git
```Download using zip
------------------```
wget https://github.com/lyrasis/assets_reroute/archive/master.zip
unzip master.zip
mv assets_rerout-master assets_reroute
```Enable the plugin
-----------------Edit `config.rb` and append:
```
AppConfig[:plugins] << "assets_reroute"
```Then restart ArchivesSpace.
Upgrades
--------Stop ArchivesSpace.
**Git**
Enter the `assets_reroute` directory:
```
git pull origin master
```**Zip**
Enter the `plugins` directory and remove the existing maintenance plugin:
```
rm -rf assets_rerout
```Now repeat the download / install steps as above (for zip).
**Complete the upgrade**
Restart ArchivesSpace.
---