Skip to content

Commit

Permalink
style: move commands of one step in one code block
Browse files Browse the repository at this point in the history
Signed-off-by: Mohammad Abudayyeh <[email protected]>
  • Loading branch information
moabu authored Jan 28, 2025
1 parent 1af4fce commit a02de10
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions jans-cedarling/flask-sidecar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,11 @@ To run the API:
- Install [poetry](https://python-poetry.org/docs/#installation)
- Clone the [Janssen](https://github.com/JanssenProject/jans) repository:
```
git clone --filter blob:none --no-checkout https://github.com/JanssenProject/jans
```
```
cd jans
```
```
git sparse-checkout init --cone
```
```
git checkout main
```
```
git sparse-checkout set jans-cedarling
git clone --filter blob:none --no-checkout https://github.com/JanssenProject/jans \
&& cd jans \
&& git sparse-checkout init --cone \
&& git checkout main \
&& git sparse-checkout set jans-cedarling
```
- Navigate to `jans-cedarling/flask-sidecar`
- Run `poetry install` to install dependencies
Expand Down Expand Up @@ -149,7 +140,7 @@ CEDARLING_WORKLOAD_AUTHZ=enabled
CEDARLING_ID_TOKEN_TRUST_MODE=none
...
```
-
- Run `docker compose -f docker-compose-env.yml up`
- The service is running on `http://0.0.0.0:5000`. OpenAPI documentation is available at `/swagger-ui`
Expand Down

0 comments on commit a02de10

Please sign in to comment.