Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: update railway.mdx #1166

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions docs/docs/deployment/railway.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,16 @@ During the process, Railway will clone this repository for you. In there, you fi

Check Quirrel's [Docker image page](https://github.com/quirrel-dev/quirrel/pkgs/container/quirrel) to find the exact version you want to pin.

Use the `PASSPHRASE` you set during the creation to issue a new token:
Use the `PASSPHRASES` you set during the creation to issue a new token:

```sh
curl --user ignored:<PASSPHRASE> -X PUT https://mighty-owl-production.up.railway.app/tokens/foo
curl --user ignored:<PASSPHRASES> -X PUT https://mighty-owl-production.up.railway.app/tokens/foo
```

Reference doc: [Acquire a token](/deployment/connecting#acquire-a-token)

Token api source code: [src/api/scheduler/routes/tokens.ts](https://github.com/quirrel-dev/quirrel/blob/main/src/api/scheduler/routes/tokens.ts)

You now have your own Quirrel instance 🥳

Next step: [Connecting your application](/deployment/connecting).