-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upload existing Items instead of creating a new ones. Added README.md
- Loading branch information
1 parent
726bd91
commit c4a1cb9
Showing
4 changed files
with
100 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
### You can upload some files into items using `create_bitstreams.py` script. | ||
It will create/update 3 Items: | ||
1. Upload 100 files (copies of the `template.png` file) | ||
2. Upload ZIP file (zipped `template.png` file) | ||
3. Upload big file (3GB) | ||
4. All files will be deleted except the `template.png` file. | ||
|
||
If the running DSpace doesn't have three items, the community and collection will be created. | ||
Subsequently, the items will be created there. | ||
|
||
How to run the script: | ||
- Run `pip install -r requirements.txt` | ||
- Update `project_settings.py` | ||
- Run `python create_bitstreams.py` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters