Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
glihm authored Oct 24, 2023
1 parent c048a72 commit 85b4c02
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ The database trait `ProxifierDb` is for now targetting `Sqlite`, but may be rewo

1. Start an instance
```bash
curl -H 'Content-Type: application/json' -H 'Authorization: Bearer my-key' https://katana-ci.arkproject.dev/start
curl -H 'Content-Type: application/json' \
-H 'Authorization: Bearer my-key' \
https://katana-ci.arkproject.dev/start

# Returns a name:
4f2b3c60ae32
Expand All @@ -30,12 +32,16 @@ The database trait `ProxifierDb` is for now targetting `Sqlite`, but may be rewo

3. To check the logs, you can hit the endpoint `/logs` of your instance, by default it returns `25` tail lines. You can use `all` or any number you like using the query parameter `n`.
```bash
curl -H 'Content-Type: application/json' -H 'Authorization: Bearer my-key' http://localhost:5050/<name>/logs
curl -H 'Content-Type: application/json' \
-H 'Authorization: Bearer my-key' \
https://katana-ci.arkproject.dev/<name>/logs
```

4. Then, you can stop the instance if it's not needed.
```bash
curl -H 'Content-Type: application/json' -H 'Authorization: Bearer my-key' https://katana-ci.arkproject.dev/<name>/stop
curl -H 'Content-Type: application/json' \
-H 'Authorization: Bearer my-key' \
https://katana-ci.arkproject.dev/<name>/stop
```
# Work in progress
Expand Down

0 comments on commit 85b4c02

Please sign in to comment.