forked from DSpace/DSpace
-
Notifications
You must be signed in to change notification settings - Fork 2
Created README-dtq.md #36
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
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,146 @@ | ||
|
|
||
| # DSpace | ||
| ## Overview | ||
|
|
||
| DSpace open source software is a turnkey repository application used by more than | ||
| 2,000 organizations and institutions worldwide to provide durable access to digital resources. | ||
| For more information, visit http://www.dspace.org/ | ||
|
|
||
| DSpace consists of both a Java-based backend and an Angular-based frontend. | ||
|
|
||
| * Backend (this codebase) provides a REST API, along with other machine-based interfaces (e.g. OAI-PMH, SWORD, etc) | ||
| * The REST Contract is at https://github.com/DSpace/RestContract | ||
| * Frontend (https://github.com/DSpace/dspace-angular/) is the User Interface built on the REST API | ||
|
|
||
| Prior versions of DSpace (v6.x and below) used two different UIs (XMLUI and JSPUI). Those UIs are no longer supported in v7 (and above). | ||
| * A maintenance branch for older versions is still available, see `dspace-6_x` for 6.x maintenance. | ||
|
|
||
| ## Downloads | ||
|
|
||
| * Backend (REST API): https://github.com/DSpace/DSpace/releases | ||
| * Frontend (User Interface): https://github.com/DSpace/dspace-angular/releases | ||
|
|
||
| ## Documentation / Installation | ||
|
|
||
| Documentation for each release may be viewed online or downloaded via our [Documentation Wiki](https://wiki.lyrasis.org/display/DSDOC/). | ||
|
|
||
| The latest DSpace Installation instructions are available at: | ||
| https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace | ||
|
|
||
| Please be aware that, as a Java web application, DSpace requires a database (PostgreSQL or Oracle) | ||
| and a servlet container (usually Tomcat) in order to function. | ||
| More information about these and all other prerequisites can be found in the Installation instructions above. | ||
|
|
||
| ## Running DSpace 7 in Docker | ||
|
|
||
| NOTE: At this time, we do not have production-ready Docker images for DSpace. | ||
| That said, we do have quick-start Docker Compose scripts for development or testing purposes. | ||
|
|
||
| See [Running DSpace 7 with Docker Compose](dspace/src/main/docker-compose/README.md) | ||
|
|
||
| ## Contributing | ||
|
|
||
| DSpace is a community built and supported project. We do not have a centralized development or support team, | ||
| but have a dedicated group of volunteers who help us improve the software, documentation, resources, etc. | ||
|
|
||
| We welcome contributions of any type. Here's a few basic guides that provide suggestions for contributing to DSpace: | ||
| * [How to Contribute to DSpace](https://wiki.lyrasis.org/display/DSPACE/How+to+Contribute+to+DSpace): How to contribute in general (via code, documentation, bug reports, expertise, etc) | ||
| * [Code Contribution Guidelines](https://wiki.lyrasis.org/display/DSPACE/Code+Contribution+Guidelines): How to give back code or contribute features, bug fixes, etc. | ||
| * [DSpace Community Advisory Team (DCAT)](https://wiki.lyrasis.org/display/cmtygp/DSpace+Community+Advisory+Team): If you are not a developer, we also have an interest group specifically for repository managers. The DCAT group meets virtually, once a month, and sends open invitations to join their meetings via the [DCAT mailing list](https://groups.google.com/d/forum/DSpaceCommunityAdvisoryTeam). | ||
|
|
||
| We also encourage GitHub Pull Requests (PRs) at any time. Please see our [Development with Git](https://wiki.lyrasis.org/display/DSPACE/Development+with+Git) guide for more info. | ||
|
|
||
| In addition, a listing of all known contributors to DSpace software can be | ||
| found online at: https://wiki.lyrasis.org/display/DSPACE/DSpaceContributors | ||
|
|
||
| ## Getting Help | ||
|
|
||
| DSpace provides public mailing lists where you can post questions or raise topics for discussion. | ||
| We welcome everyone to participate in these lists: | ||
|
|
||
| * [dspace-community@googlegroups.com](https://groups.google.com/d/forum/dspace-community) : General discussion about DSpace platform, announcements, sharing of best practices | ||
| * [dspace-tech@googlegroups.com](https://groups.google.com/d/forum/dspace-tech) : Technical support mailing list. See also our guide for [How to troubleshoot an error](https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error). | ||
| * [dspace-devel@googlegroups.com](https://groups.google.com/d/forum/dspace-devel) : Developers / Development mailing list | ||
|
|
||
| Great Q&A is also available under the [DSpace tag on Stackoverflow](http://stackoverflow.com/questions/tagged/dspace) | ||
|
|
||
| Additional support options are at https://wiki.lyrasis.org/display/DSPACE/Support | ||
|
|
||
| DSpace also has an active service provider network. If you'd rather hire a service provider to | ||
| install, upgrade, customize or host DSpace, then we recommend getting in touch with one of our | ||
| [Registered Service Providers](http://www.dspace.org/service-providers). | ||
|
|
||
| ## Issue Tracker | ||
|
|
||
| DSpace uses GitHub to track issues: | ||
| * Backend (REST API) issues: https://github.com/DSpace/DSpace/issues | ||
| * Frontend (User Interface) issues: https://github.com/DSpace/dspace-angular/issues | ||
|
|
||
| ## Testing | ||
|
|
||
| ### Running Tests | ||
|
|
||
| By default, in DSpace, Unit Tests and Integration Tests are disabled. However, they are | ||
| run automatically by [GitHub Actions](https://github.com/DSpace/DSpace/actions?query=workflow%3ABuild) for all Pull Requests and code commits. | ||
|
|
||
| * Necessary parameters for running every Unit Test command to pass JVM memory flags: `test.argLine`, `surefireJacoco`. Example: | ||
| ``` | ||
| mvn <ARGS> -Dtest.argLine=-Xmx1024m -DsurefireJacoco=-XX:MaxPermSize=256m | ||
| ``` | ||
| * Necessary parameters for running every Integration Test command to pass JVM memory flags: `test.argLine`, `failsafeJacoco`. Example: | ||
| ``` | ||
| mvn <ARGS> -Dtest.argLine=-Xmx1024m -DfailsafeJacoco=-XX:MaxPermSize=256m | ||
| ``` | ||
| * How to run both Unit Tests (via `maven-surefire-plugin`) and Integration Tests (via `maven-failsafe-plugin`): | ||
| ``` | ||
| mvn install -DskipUnitTests=false -DskipIntegrationTests=false | ||
| ``` | ||
| * How to run _only_ Unit Tests: | ||
| ``` | ||
| mvn test -DskipUnitTests=false | ||
| ``` | ||
| * How to run a *single* Unit Test | ||
| ``` | ||
| # Run all tests in a specific test class | ||
| # NOTE: failIfNoTests=false is required to skip tests in other modules | ||
| mvn test -DskipUnitTests=false -Dtest=[full.package.testClassName] -DfailIfNoTests=false | ||
|
|
||
| # Example: mvn test -DskipUnitTests=false -Dtest=org.dspace.content.ItemTest.java -DfailIfNoTests=false -Dtest.argLine=-Xmx1024m -DsurefireJacoco=-XX:MaxPermSize=256m | ||
|
|
||
| # Run one test method in a specific test class | ||
| mvn test -DskipUnitTests=false -Dtest=[full.package.testClassName]#[testMethodName] -DfailIfNoTests=false | ||
| ``` | ||
| * How to run _only_ Integration Tests | ||
| ``` | ||
| mvn install -DskipIntegrationTests=false | ||
| ``` | ||
| * How to run a *single* Integration Test | ||
| ``` | ||
| # Run all integration tests in a specific test class | ||
| # NOTE: failIfNoTests=false is required to skip tests in other modules | ||
| mvn install -DskipIntegrationTests=false -Dit.test=[full.package.testClassName] -DfailIfNoTests=false | ||
|
|
||
| # Example: | ||
| mvn install -DskipIntegrationTests=false -Dit.test=org.dspace.content.ItemIT.java#dtqExampleTest -Dtest.argLine=-Xmx1024m -DfailsafeJacoco=-XX:MaxPermSize=256m | ||
|
|
||
| # Run one test method in a specific test class | ||
| mvn install -DskipIntegrationTests=false -Dit.test=[full.package.testClassName]#[testMethodName] -DfailIfNoTests=false | ||
| ``` | ||
| * How to run only tests of a specific DSpace module | ||
| ``` | ||
| # Before you can run only one module's tests, other modules may need installing into your ~/.m2 | ||
| cd [dspace-src] | ||
| mvn clean install | ||
|
|
||
| # Then, move into a module subdirectory, and run the test command | ||
| cd [dspace-src]/dspace-server-webapp | ||
| # Choose your test command from the lists above | ||
| ``` | ||
|
|
||
| ## License | ||
|
|
||
| DSpace source code is freely available under a standard [BSD 3-Clause license](https://opensource.org/licenses/BSD-3-Clause). | ||
| The full license is available in the [LICENSE](LICENSE) file or online at http://www.dspace.org/license/ | ||
|
|
||
| DSpace uses third-party libraries which may be distributed under different licenses. Those licenses are listed | ||
| in the [LICENSES_THIRD_PARTY](LICENSES_THIRD_PARTY) file. | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.