Skip to content

Commit

Permalink
Changing the file_store command line tools to Catmandu::FileStore
Browse files Browse the repository at this point in the history
  • Loading branch information
phochste committed Sep 19, 2017
1 parent 32af38c commit 0fab71d
Show file tree
Hide file tree
Showing 22 changed files with 151 additions and 2,629 deletions.
13 changes: 12 additions & 1 deletion Makefile
@@ -1,5 +1,16 @@
.PHONY: cover test update
usage:
@echo "usage: make TARGET"
@echo
@echo "targets:"
@echo " generate"
@echo " update"
@echo " test"
@echo " cover"

generate:
carton exec bin/librecat generate forms
carton exec bin/librecat generate departments

update:
git pull --tags origin master
carton install
Expand Down
26 changes: 12 additions & 14 deletions config/files.yml
Expand Up @@ -8,7 +8,7 @@ default: &filestore_settings
package: Simple
options:
root: data/file_uploads

api:
buffer_size: 8192
access:
Expand All @@ -34,21 +34,19 @@ access_thumbnailer:
files: *filestore_settings
access: *accessstore_settings

# Demo
fedora:
# Install Catmandu::BagIt for this demo
bagit_demo:
package: BagIt
options:
root: data/bag_uploads

# Install Catmandu::FedoraCommons for this demo
fedora_demo:
package: FedoraCommons
options:
url: http://localhost:8080/fedora
user: fedoraAdmin
baseurl: http://localhost:8080/fedora
username: fedoraAdmin
password: fedoraAdmin
namespace: demo
dsnamespace: DS
md5enabled: 1
versionable: 0
model: DC
purge: 1

# Demo
bagit:
package: BagIt
options:
root: data/bag_uploads
2 changes: 1 addition & 1 deletion cpanfile
Expand Up @@ -20,7 +20,7 @@ requires 'Business::ISBN', 0;
requires 'Module::Install', '1.16';

# Catmandu
requires 'Catmandu', '>=1.06';
requires 'Catmandu', '>=1.0603';
requires 'Catmandu::Exporter::Table';
requires 'Search::Elasticsearch', '>=5.02';
requires 'Search::Elasticsearch::Client::1_0','>=5.02';
Expand Down
Empty file removed data/bag_uploads/.gitignore
Empty file.

0 comments on commit 0fab71d

Please sign in to comment.