forked from beerphilipp/ro-crates-deposit
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
14 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,16 +10,21 @@ | |
- in case of TU Wien test instance: use `https://test.researchdata.tuwien.ac.at/` | ||
1. Run `source .env` to set the environment variables for the session | ||
|
||
If you prefer to set the environment variables `INVENIORDM_API_KEY` and `INVENIORDM_BASE_URL` another way (e.g. in `~/.bashrc`), you can do that instead. However, the `.env` file must also be configured as it is used by `pytest`. | ||
The `.env` file must always be configured as it is used by `pytest`. However, for the final step, if you prefer to set the environment variables `INVENIORDM_API_KEY` and `INVENIORDM_BASE_URL` another way (e.g. in `~/.bashrc`), you can do that instead. | ||
|
||
### Set up the Python environment | ||
|
||
Clone the repository: | ||
``` | ||
git clone [email protected]:ResearchObject/ro-crates-deposit.git | ||
cd ro-crate-inveniordm | ||
``` | ||
|
||
If you do not already have `poetry` installed, install it following the [Poetry installation documentation](https://python-poetry.org/docs/#installation). | ||
|
||
Then install dependencies from `poetry.lock`: | ||
|
||
```bash | ||
cd ro-crate-inveniordm | ||
poetry install | ||
``` | ||
|
||
|