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

Alpha release take 3 #154

Merged
merged 10 commits into from
Feb 24, 2025
19 changes: 16 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ invenio-cli services setup
invenio-cli run
```

Once the Flask server has started visit https://127.0.0.1:5000 in your browser. Once
Once the Flask server has started visit <https://127.0.0.1:5000> in your browser. Once
finished, stop the running Flask server and use `invenio-cli services stop` to bring
down the running services.

Expand All @@ -57,11 +57,22 @@ application and related services (database, Elasticsearch, Redis and RabbitMQ).
build and boot process will take some time to complete, especially the first time as
docker images have to be downloaded during the process.

Once running, visit https://127.0.0.1 in your browser.
Once running, visit <https://127.0.0.1> in your browser.

**Note**: The server is using a self-signed SSL certificate, so your browser will issue
a warning that you will have to by-pass.

### Imperial Single Sign-On

To be able to log in using Imperial SSO the following environment variables must be set:
`ICL_OAUTH_CLIENT_ID` and `ICL_OAUTH_CLIENT_SECRET`. Appropriate values for use in
development are available from the Imperial password safe. Ask Chris C-A for access.

Direct links:

- [ICL_OAUTH_CLIENT_ID]
- [ICL_OAUTH_CLIENT_SECRET]

## Development

### QA
Expand Down Expand Up @@ -108,7 +119,7 @@ invenio-cli services start
docker compose -f docker-compose.app-dev.yml up app
```

Then access https://127.0.0.1:5000 in the browser.
Then access <https://127.0.0.1:5000> in the browser.

## Overview

Expand Down Expand Up @@ -162,6 +173,8 @@ the [test_data directory].
[configuration approach]: https://inveniordm.docs.cern.ch/install/configuration/
[customisation documentation]: https://imperialcollegelondon.github.io/fair-data-repository/customisation/
[getting started]: #getting-started
[icl_oauth_client_id]: https://icsecpws.cc.ic.ac.uk:443/GetPassCard.cc?ACCOUNTID=456013&ORGN_NAME=MSP
[icl_oauth_client_secret]: https://icsecpws.cc.ic.ac.uk:443/GetPassCard.cc?ACCOUNTID=456012&ORGN_NAME=MSP
[invenio-cli]: https://github.com/inveniosoftware/invenio-cli
[pre-commit]: https://pre-commit.com/
[pytest-flask]: https://pytest-flask.readthedocs.io/en/latest/
Expand Down
2 changes: 2 additions & 0 deletions assets/js/invenio_app_rdm/overridableRegistry/mapping.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import { HiddenField } from "../../ic_data_repo/HiddenField";
import { OptionalRoleCreatibutorsField } from "../../ic_data_repo/OptionalRoleCreatibutors";
import { LimitedLicenseField } from "../../ic_data_repo/LimitedLicenseField";
import { MandatoryPIDField } from "../../ic_data_repo/MandatoryPIDField";
import { parametrize } from "react-overridable";
import { TextAreaField } from "react-invenio-forms";

Expand All @@ -24,6 +25,7 @@ const ContributorsField = parametrize(OptionalRoleCreatibutorsField, {
export const overriddenComponents = {
"InvenioAppRdm.Deposit.ContributorsField.container": ContributorsField,
"InvenioAppRdm.Deposit.CreatorsField.container": CreatorsField,
"InvenioAppRdm.Deposit.PIDField.container": MandatoryPIDField,
"InvenioAppRdm.Deposit.ResourceTypeField.container": HiddenField,
"InvenioAppRdm.Deposit.PublisherField.container": HiddenField,
"InvenioAppRdm.Deposit.PublicationDateField.container": HiddenField,
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ module = [
"invenio_notifications.*",
"invenio_oauthclient.*",
"invenio_records_resources.*",
"invenio_rdm_records.*",
"marshmallow.*",
"marshmallow_utils.*",
]
Expand Down
Loading
Loading