Skip to content

Commit

Permalink
docs: update Docker Compose setup guide to checkout latest tag (#4695)
Browse files Browse the repository at this point in the history
  • Loading branch information
SanchithHegde committed May 20, 2024
1 parent 909e75c commit 40f6776
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 7 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/release-stable-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
echo "PREVIOUS_TAG=${PREVIOUS_TAG}" >> $GITHUB_ENV
echo "NEXT_TAG=${NEXT_TAG}" >> $GITHUB_ENV
# We make use of GitHub API calls to create the tag to have signed tags
# We make use of GitHub API calls to create and update tags
- name: Create SemVer tag
shell: bash
env:
Expand All @@ -133,6 +133,18 @@ jobs:
--raw-field "ref=refs/tags/${NEXT_TAG}" \
--raw-field 'sha=${{ github.sha }}'
- name: Update `latest` tag to point to newly created SemVer tag
shell: bash
env:
GH_TOKEN: ${{ steps.generate_app_token.outputs.token }}
run: |
gh api \
--method PATCH \
--header 'Accept: application/vnd.github+json' \
--header 'X-GitHub-Api-Version: 2022-11-28' \
'/repos/{owner}/{repo}/git/refs/tags/latest' \
--raw-field 'sha=${{ github.sha }}'
- name: Generate changelog
shell: bash
run: |
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,12 @@ The fastest and easiest way to try Hyperswitch is via our CDK scripts
You can run Hyperswitch on your system using Docker Compose after cloning this repository:

```shell
git clone --depth 1 --branch latest https://github.com/juspay/hyperswitch
cd hyperswitch
docker compose up -d
```

This will start the payments router, the primary component within Hyperswitch.
This will start the app server, web client and control center.

Check out the [local setup guide][local-setup-guide] for a more comprehensive
setup, which includes the [scheduler and monitoring services][docker-compose-scheduler-monitoring].
Expand Down
10 changes: 5 additions & 5 deletions docs/try_local_system.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Check the Table Of Contents to jump to the relevant section.
2. Clone the repository and switch to the project directory:

```shell
git clone https://github.com/juspay/hyperswitch
git clone --depth 1 --branch latest https://github.com/juspay/hyperswitch
cd hyperswitch
```

Expand All @@ -51,13 +51,13 @@ Check the Table Of Contents to jump to the relevant section.
docker compose up -d
```

This should run the hyperswitch payments router, the primary component within
hyperswitch.
This should run the hyperswitch app server, web client and control center.
Wait for the `migration_runner` container to finish installing `diesel_cli`
and running migrations (approximately 2 minutes) before proceeding further.
and running migrations (approximately 2 minutes), and for the
`hyperswitch-web` container to finish compiling before proceeding further.
You can also choose to
[run the scheduler and monitoring services](#run-the-scheduler-and-monitoring-services)
in addition to the payments router.
in addition to the app server, web client and control center.

5. Verify that the server is up and running by hitting the health endpoint:

Expand Down

0 comments on commit 40f6776

Please sign in to comment.