Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Dataverse -> /srv/dataverse-prod

## Permissions

You don't necessarily want to give docker rights to users of this script, since docker implies root permissions. You can extend a limited ability to run the script with the following workaround:
You don't necessarily want to give docker rights to users of this script, since docker implies root permissions. You can extend a limited ability to run the script with the following workaround (see [`scripts`](scripts)):

```sh
# In system-wide profile
Expand All @@ -22,6 +22,7 @@ alias dvuploader="sudo /usr/local/sbin/dvuploader.sh"
# In /usr/local/sbin/dvuploader.sh
#!/bin/sh -e
exec docker run \
-t \
--init \
--rm \
--volume /srv/da:/srv/da:ro \
Expand Down
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
# once dvuploader 0.3.0 is out, point this to a proper release spec
dvuploader @ https://github.com/BerkeleyLibrary/python-dvuploader/archive/refs/heads/include-tab-ingest-rebased.zip
dvuploader >= 0.3.0
1 change: 1 addition & 0 deletions scripts/dvuploader.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/sh -e
exec docker run \
-t \
--init \
--rm \
--volume /srv/da:/srv/da:ro \
Expand Down