Skip to content

Commit

Permalink
Update documentation and comments in backend config.
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeep-ps committed Aug 22, 2024
1 parent a4a7904 commit aae8d46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions backend/app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ class Settings(BaseSettings):
# defautl listener heartbeat time interval in seconds 5 minutes
listener_heartbeat_interval = 5 * 60

# DOI datacite details
# TODO: Update the below configuration details once access to DataCite production instance is ready
# DataCite details
DOI_ENABLED = True
DATACITE_API_URL = "https://api.test.datacite.org/"

Expand Down
3 changes: 1 addition & 2 deletions docs/docs/devs/dataset-versioning.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,7 @@ The following configuration changes need to be made to integrate DOI generation
In the backend module, the following configurations should be set:
```python
DOI_ENABLED = True # Enable or disable DOI generation
DATACITE_TEST_URL = "https://api.test.datacite.org/dois" # DataCite test URL
DATACITE_URL = "https://api.datacite.org/dois" # DataCite production URL
DATACITE_API_URL = "https://api.test.datacite.org/" # DataCite API URL (production URL is https://api.datacite.org/)
```

Also, following environment variables should be set when running the backend module:
Expand Down

0 comments on commit aae8d46

Please sign in to comment.