Skip to content

Commit

Permalink
Merge pull request #5 from adityakiran1423/wget-epoch
Browse files Browse the repository at this point in the history
added wget command for downloading epoch script
  • Loading branch information
santanusinha authored Nov 27, 2024
2 parents 3c4e65b + 61c9b25 commit c6e1786
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,10 @@ system.
docker pull ghcr.io/phonepe/epoch-cli:latest
```

2) Create a shell script called `epoch` with the following content:
2) Download the `epoch` shell script using the following command:

```shell
#! /bin/sh
docker run \
--rm --interactive --tty --network host \
--name epoch-cli -v ${HOME}/.epoch:/root/.epoch:ro \
ghcr.io/phonepe/epoch-cli:latest "$@"

wget https://raw.github.com/PhonePe/epoch-cli/master/epoch
```

3) Make the script executable
Expand Down Expand Up @@ -472,4 +467,5 @@ Move the setting.ini to the testingEpochCli directory and add auth tokens/userna
epoch -f setting.ini -c env runs list job_name
```

©2024, Shubhransh Jagota.
©2024, Shubhransh Jagota.

6 changes: 6 additions & 0 deletions epoch
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#! /bin/sh

docker run \
--rm --interactive --tty --network host \
--name epoch-cli -v ${HOME}/.epoch:/root/.epoch:ro \
ghcr.io/phonepe/epoch-cli:latest "$@"

0 comments on commit c6e1786

Please sign in to comment.