Skip to content

Commit

Permalink
Merge pull request #1362 from Sage-Bionetworks/feature-fds-1323-api-p…
Browse files Browse the repository at this point in the history
…ackages-optional

make api packages optional
  • Loading branch information
andrewelamb authored Feb 9, 2024
2 parents 3d75f1b + 2b60630 commit d76bffa
Show file tree
Hide file tree
Showing 5 changed files with 216 additions and 131 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
# install your root project, if required
#----------------------------------------------
- name: Install library
run: poetry install --no-interaction
run: poetry install --no-interaction --all-extras

#----------------------------------------------
# perform linting
Expand Down
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,18 @@ poetry install
```
This command will install the dependencies based on what we specify in poetry.lock. If this step is taking a long time, try to go back to step 2 and check your version of poetry. Alternatively, you could also try deleting the lock file and regenerate it by doing `poetry install` (Please note this method should be used as a last resort because this would force other developers to change their development environment)

If you want to install the API you will need to install those dependencies as well:

```
poetry install --extras "api"
```

If you want to install the uwsgi:

```
poetry install --extras "api"
```

5. Fill in credential files:
*Note*: If you won't interact with Synapse, please ignore this section.

Expand Down
Loading

0 comments on commit d76bffa

Please sign in to comment.