Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making bags downloadable #69

Open
johnguirgis opened this issue Jun 18, 2021 · 0 comments
Open

Making bags downloadable #69

johnguirgis opened this issue Jun 18, 2021 · 0 comments

Comments

@johnguirgis
Copy link

Hello, I am trying to make bags downloadable following the instructions provided but I am having some issues. I start the Symfony server and run

curl -v -H "Islandora-Node-ID: 4" http://127.0.0.1:8001/api/createbag

(with the corresponding node number) which generates this {"nid":"2","location":"127.0.0.1:8000\/tmp2.zip","created":"2021-06-18T17:43:02+0000"}
I then run ./bin/console app:islandora_bagger:create_bag --settings=sample_config.yml --node=2 with output_dir: /tmp and app.bag.download.prefix:127.0.0.1:8000/tmp which generates this message

[OK] Bag created for http://localhost:8000/node/2 at /tmp/2.zip    

I probably did something wrong but if not, I am unsure where to go from here to download the file.
Any help would be appreciated :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant