From b629ccf795adbb8d9c46c36d0b16531f3037976d Mon Sep 17 00:00:00 2001 From: Mesh Date: Thu, 23 Nov 2023 15:39:30 +0800 Subject: [PATCH 1/3] Update railway.mdx 1. fix typo 2. add reference links --- docs/docs/deployment/railway.mdx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/docs/deployment/railway.mdx b/docs/docs/deployment/railway.mdx index e245ce4d..da204046 100644 --- a/docs/docs/deployment/railway.mdx +++ b/docs/docs/deployment/railway.mdx @@ -13,12 +13,15 @@ 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: -X PUT https://mighty-owl-production.up.railway.app/tokens/foo +curl --user ignored: -X PUT https://mighty-owl-production.up.railway.app/tokens/foo ``` +Reference doc: [Acquire a token](https://docs.quirrel.dev/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). From 9914e92afbda4c28a754e9716f69c865d9803708 Mon Sep 17 00:00:00 2001 From: Mesh Date: Thu, 23 Nov 2023 15:41:45 +0800 Subject: [PATCH 2/3] Update railway.mdx --- docs/docs/deployment/railway.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/docs/deployment/railway.mdx b/docs/docs/deployment/railway.mdx index da204046..c8813ad1 100644 --- a/docs/docs/deployment/railway.mdx +++ b/docs/docs/deployment/railway.mdx @@ -20,6 +20,7 @@ curl --user ignored: -X PUT https://mighty-owl-production.up.railwa ``` Reference doc: [Acquire a token](https://docs.quirrel.dev/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 🥳 From 39f74d4f5d1f84c26be61eee98e426e7761cfd57 Mon Sep 17 00:00:00 2001 From: Mesh Date: Thu, 23 Nov 2023 15:43:36 +0800 Subject: [PATCH 3/3] Update railway.mdx --- docs/docs/deployment/railway.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/deployment/railway.mdx b/docs/docs/deployment/railway.mdx index c8813ad1..6ed8f8e6 100644 --- a/docs/docs/deployment/railway.mdx +++ b/docs/docs/deployment/railway.mdx @@ -19,7 +19,7 @@ Use the `PASSPHRASES` you set during the creation to issue a new token: curl --user ignored: -X PUT https://mighty-owl-production.up.railway.app/tokens/foo ``` -Reference doc: [Acquire a token](https://docs.quirrel.dev/deployment/connecting#acquire-a-token) +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)