From 91e93418fae23409920b9f68b306babbcb7139ec Mon Sep 17 00:00:00 2001 From: Karim Zarzour <49167803+KZarzour@users.noreply.github.com> Date: Fri, 20 Feb 2026 17:28:11 -0800 Subject: [PATCH 1/3] Add Railway deployment instructions to README Added deployment instructions for Railway and admin password note. --- readme.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/readme.md b/readme.md index 008b40b1..eae67493 100644 --- a/readme.md +++ b/readme.md @@ -260,6 +260,12 @@ You can change the data directory with the `--data-dir` flag. The JWT secret is required for authentication and should be kept secure. +### Deploy on Railway +Leafwiki can be deployed in one click on Railway, all the necessary config is already taken care of. +Make sure to change `LEAFWIKI_ADMIN_PASSWORD` when deploying as the default value otherwise will be `admin` + +[![Deploy on Railway](https://railway.com/button.svg)](https://railway.com/deploy/leafwiki?referralCode=iz4oG7&utm_medium=integration&utm_source=template&utm_campaign=generic) + ## Authentication and admin user From 1bbb10e64e848209f52aca39b75e4774b0e894df Mon Sep 17 00:00:00 2001 From: Karim Zarzour <49167803+KZarzour@users.noreply.github.com> Date: Fri, 20 Feb 2026 18:25:19 -0800 Subject: [PATCH 2/3] Fix grammatical error in deployment instructions --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index eae67493..9b747d53 100644 --- a/readme.md +++ b/readme.md @@ -261,7 +261,7 @@ You can change the data directory with the `--data-dir` flag. The JWT secret is required for authentication and should be kept secure. ### Deploy on Railway -Leafwiki can be deployed in one click on Railway, all the necessary config is already taken care of. +Leafwiki can be deployed in one click on Railway, all the necessary config are already taken care of. Make sure to change `LEAFWIKI_ADMIN_PASSWORD` when deploying as the default value otherwise will be `admin` [![Deploy on Railway](https://railway.com/button.svg)](https://railway.com/deploy/leafwiki?referralCode=iz4oG7&utm_medium=integration&utm_source=template&utm_campaign=generic) From f301655cc9fae4c6d63ffd26fb7a72678c96d834 Mon Sep 17 00:00:00 2001 From: Karim Zarzour <49167803+KZarzour@users.noreply.github.com> Date: Fri, 20 Feb 2026 18:25:56 -0800 Subject: [PATCH 3/3] Fix typo in Railway deployment instructions --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 9b747d53..0d5a538b 100644 --- a/readme.md +++ b/readme.md @@ -261,7 +261,7 @@ You can change the data directory with the `--data-dir` flag. The JWT secret is required for authentication and should be kept secure. ### Deploy on Railway -Leafwiki can be deployed in one click on Railway, all the necessary config are already taken care of. +Leafwiki can be deployed in one click on Railway, all the necessary configs are already taken care of. Make sure to change `LEAFWIKI_ADMIN_PASSWORD` when deploying as the default value otherwise will be `admin` [![Deploy on Railway](https://railway.com/button.svg)](https://railway.com/deploy/leafwiki?referralCode=iz4oG7&utm_medium=integration&utm_source=template&utm_campaign=generic)