diff --git a/README.md b/README.md index 534a64e..e340fa9 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,20 @@ avspace ======= ArchivesSpace Plugin for AV Materials + + +## Getting Started + +For detailed instructions, see: + https://github.com/archivesspace/archivesspace/blob/master/plugins/README.md + +1. Stop ArchivesSpace if it is running + +2. Download the release from the releases tab + +3. Unzip it and move it to the plugins directory + +4. Open config/config.yml and find the 'plugins' line. Make sure it is uncommented (no leading '#') and add 'avspace' to the list. + +5. Restart ArchiveSpace. You should see 'AV Space' in the plugins menu. + diff --git a/config.yml b/config.yml new file mode 100644 index 0000000..ae388ef --- /dev/null +++ b/config.yml @@ -0,0 +1 @@ +system_menu_controller: avspace \ No newline at end of file diff --git a/frontend/controllers/avspace_controller.rb b/frontend/controllers/avspace_controller.rb new file mode 100644 index 0000000..e02e1b7 --- /dev/null +++ b/frontend/controllers/avspace_controller.rb @@ -0,0 +1,8 @@ +class AvspaceController < ApplicationController + + skip_before_filter :unauthorised_access + + def index + + end +end diff --git a/frontend/locales/en.yml b/frontend/locales/en.yml new file mode 100644 index 0000000..6b0c532 --- /dev/null +++ b/frontend/locales/en.yml @@ -0,0 +1,4 @@ +en: + plugins: + avspace: + label: AV Space diff --git a/frontend/views/avspace/index.html.erb b/frontend/views/avspace/index.html.erb new file mode 100644 index 0000000..3aebbbd --- /dev/null +++ b/frontend/views/avspace/index.html.erb @@ -0,0 +1,3 @@ +
+ Hello! You have successfully installed the AV Space plugin +