forked from DSpace/dspace-angular
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from bibudem/calypso-dspace
Calypso dspace
- Loading branch information
Showing
363 changed files
with
13,487 additions
and
14,455 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
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
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 |
---|---|---|
|
@@ -10,14 +10,17 @@ DSpace is a community built and supported project. We do not have a centralized | |
## Contribute new code via a Pull Request | ||
|
||
We accept [GitHub Pull Requests (PRs)](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork) at any time from anyone. | ||
Contributors to each release are recognized in our [Release Notes](https://wiki.lyrasis.org/display/DSDOC7x/Release+Notes). | ||
Contributors to each release are recognized in our [Release Notes](https://wiki.lyrasis.org/display/DSDOC8x/Release+Notes). | ||
|
||
Code Contribution Checklist | ||
- [ ] PRs _should_ be smaller in size (ideally less than 1,000 lines of code, not including comments & tests) | ||
- [ ] PRs **must** pass [ESLint](https://eslint.org/) validation using `yarn lint` | ||
- [ ] PRs **must** not introduce circular dependencies (verified via `yarn check-circ-deps`) | ||
- [ ] PRs **must** include [TypeDoc](https://typedoc.org/) comments for _all new (or modified) public methods and classes_. Large or complex private methods should also have TypeDoc. | ||
- [ ] PRs **must** pass all automated pecs/tests and includes new/updated specs or tests based on the [Code Testing Guide](https://wiki.lyrasis.org/display/DSPACE/Code+Testing+Guide). | ||
- [ ] User interface changes **must** align with [Accessibility guidelines](https://wiki.lyrasis.org/display/DSDOC8x/Accessibility) | ||
- [ ] PRs **must** use i18n (internationalization) keys instead of hardcoded English text, to allow for translations. | ||
- [ ] Details on how to test the PR **must** be provided. Reviewers must be aware of any steps they need to take to successfully test your fix or feature. | ||
- [ ] If a PR includes new libraries/dependencies (in `package.json`), then their software licenses **must** align with the [DSpace BSD License](https://github.com/DSpace/dspace-angular/blob/main/LICENSE) based on the [Licensing of Contributions](https://wiki.lyrasis.org/display/DSPACE/Code+Contribution+Guidelines#CodeContributionGuidelines-LicensingofContributions) documentation. | ||
- [ ] Basic technical documentation _should_ be provided for any new features or configuration, either in the PR itself or in the DSpace Wiki documentation. | ||
- [ ] If a PR fixes an issue ticket, please [link them together](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue). | ||
|
@@ -26,21 +29,21 @@ Additional details on the code contribution process can be found in our [Code Co | |
|
||
## Contribute documentation | ||
|
||
DSpace Documentation is a collaborative effort in a shared Wiki. The latest documentation is at https://wiki.lyrasis.org/display/DSDOC7x | ||
DSpace Documentation is a collaborative effort in a shared Wiki. The latest documentation is at https://wiki.lyrasis.org/display/DSDOC | ||
|
||
If you find areas of the DSpace Documentation which you wish to improve, please request a Wiki account by emailing [email protected]. | ||
Once you have an account setup, contact @tdonohue (via [Slack](https://wiki.lyrasis.org/display/DSPACE/Slack) or email) for access to edit our Documentation. | ||
|
||
## Help others on mailing lists or Slack | ||
|
||
DSpace has our own [Slack](https://wiki.lyrasis.org/display/DSPACE/Slack) community and [Mailing Lists](https://wiki.lyrasis.org/display/DSPACE/Mailing+Lists) where discussions take place and questions are answered. | ||
Anyone is welcome to join and help others. We just ask you to follow our [Code of Conduct](https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx) (adopted via LYRASIS). | ||
Anyone is welcome to join and help others. We just ask you to follow our [Code of Conduct](https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx) (adopted via Lyrasis). | ||
|
||
## Join a working or interest group | ||
|
||
Most of the work in building/improving DSpace comes via [Working Groups](https://wiki.lyrasis.org/display/DSPACE/DSpace+Working+Groups) or [Interest Groups](https://wiki.lyrasis.org/display/DSPACE/DSpace+Interest+Groups). | ||
|
||
All working/interest groups are open to anyone to join and participate. A few key groups to be aware of include: | ||
|
||
* [DSpace 7 Working Group](https://wiki.lyrasis.org/display/DSPACE/DSpace+7+Working+Group) - This is the main (mostly volunteer) development team. We meet weekly to review our current development [project board](https://github.com/orgs/DSpace/projects), assigning tickets and/or PRs. | ||
* [DSpace Community Advisory Team (DCAT)](https://wiki.lyrasis.org/display/cmtygp/DSpace+Community+Advisory+Team) - This is an interest group for repository managers/administrators. We meet monthly to discuss DSpace, share tips & provide feedback back to developers. | ||
* [DSpace Developer Team](https://wiki.lyrasis.org/display/DSPACE/Developer+Meetings) - This is the primary, volunteer development team. We meet weekly to review our current development [project board](https://github.com/orgs/DSpace/projects), assigning tickets and/or PRs. This is also were discussions of the next release or major issues occur. Anyone is welcome to attend. | ||
* [DSpace Community Advisory Team (DCAT)](https://wiki.lyrasis.org/display/cmtygp/DSpace+Community+Advisory+Team) - This is an interest group for repository managers/administrators. We meet monthly to discuss DSpace, share tips & provide feedback back to developers. Anyone is welcome to attend. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,19 +59,19 @@ A default/demo version of this image is built *automatically*. | |
|
||
## To refresh / pull DSpace images from Dockerhub | ||
``` | ||
docker-compose -f docker/docker-compose.yml pull | ||
docker compose -f docker/docker-compose.yml pull | ||
``` | ||
|
||
## To build DSpace images using code in your branch | ||
``` | ||
docker-compose -f docker/docker-compose.yml build | ||
docker compose -f docker/docker-compose.yml build | ||
``` | ||
|
||
## To start DSpace (REST and Angular) from your branch | ||
|
||
This command provides a quick way to start both the frontend & backend from this single codebase | ||
``` | ||
docker-compose -p d8 -f docker/docker-compose.yml -f docker/docker-compose-rest.yml up -d | ||
docker compose -p d8 -f docker/docker-compose.yml -f docker/docker-compose-rest.yml up -d | ||
``` | ||
|
||
Keep in mind, you may also start the backend by cloning the 'DSpace/DSpace' GitHub repository separately. See the next section. | ||
|
@@ -86,14 +86,14 @@ _The system will be started in 2 steps. Each step shares the same docker network | |
|
||
From 'DSpace/DSpace' clone (build first as needed): | ||
``` | ||
docker-compose -p d8 up -d | ||
docker compose -p d8 up -d | ||
``` | ||
|
||
NOTE: More detailed instructions on starting the backend via Docker can be found in the [Docker Compose instructions for the Backend](https://github.com/DSpace/DSpace/blob/main/dspace/src/main/docker-compose/README.md). | ||
|
||
From 'DSpace/dspace-angular' clone (build first as needed) | ||
``` | ||
docker-compose -p d8 -f docker/docker-compose.yml up -d | ||
docker compose -p d8 -f docker/docker-compose.yml up -d | ||
``` | ||
|
||
At this point, you should be able to access the UI from http://localhost:4000, | ||
|
@@ -105,40 +105,40 @@ This allows you to run the Angular UI in *production* mode, pointing it at the d | |
(https://demo.dspace.org/server/ or https://sandbox.dspace.org/server/). | ||
|
||
``` | ||
docker-compose -f docker/docker-compose-dist.yml pull | ||
docker-compose -f docker/docker-compose-dist.yml build | ||
docker-compose -p d8 -f docker/docker-compose-dist.yml up -d | ||
docker compose -f docker/docker-compose-dist.yml pull | ||
docker compose -f docker/docker-compose-dist.yml build | ||
docker compose -p d8 -f docker/docker-compose-dist.yml up -d | ||
``` | ||
|
||
## Ingest test data from AIPDIR | ||
|
||
Create an administrator | ||
``` | ||
docker-compose -p d8 -f docker/cli.yml run --rm dspace-cli create-administrator -e [email protected] -f admin -l user -p admin -c en | ||
docker compose -p d8 -f docker/cli.yml run --rm dspace-cli create-administrator -e [email protected] -f admin -l user -p admin -c en | ||
``` | ||
|
||
Load content from AIP files | ||
``` | ||
docker-compose -p d8 -f docker/cli.yml -f ./docker/cli.ingest.yml run --rm dspace-cli | ||
docker compose -p d8 -f docker/cli.yml -f ./docker/cli.ingest.yml run --rm dspace-cli | ||
``` | ||
|
||
## Alternative Ingest - Use Entities dataset | ||
_Delete your docker volumes or use a unique project (-p) name_ | ||
|
||
Start DSpace with Database Content from a database dump | ||
``` | ||
docker-compose -p d8 -f docker/docker-compose.yml -f docker/docker-compose-rest.yml -f docker/db.entities.yml up -d | ||
docker compose -p d8 -f docker/docker-compose.yml -f docker/docker-compose-rest.yml -f docker/db.entities.yml up -d | ||
``` | ||
|
||
Load assetstore content and trigger a re-index of the repository | ||
``` | ||
docker-compose -p d8 -f docker/cli.yml -f docker/cli.assetstore.yml run --rm dspace-cli | ||
docker compose -p d8 -f docker/cli.yml -f docker/cli.assetstore.yml run --rm dspace-cli | ||
``` | ||
|
||
## End to end testing of the REST API (runs in GitHub Actions CI). | ||
_In this instance, only the REST api runs in Docker using the Entities dataset. GitHub Actions will perform CI testing of Angular using Node to drive the tests. See `.github/workflows/build.yml` for more details._ | ||
|
||
This command is only really useful for testing our Continuous Integration process. | ||
``` | ||
docker-compose -p d8ci -f docker/docker-compose-ci.yml up -d | ||
docker compose -p d8ci -f docker/docker-compose-ci.yml up -d | ||
``` |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.