From 154b8b4b6405c721342a681f366d3914536dc62a Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Wed, 22 May 2024 21:18:42 +0800 Subject: [PATCH] docs: update manual install document #56 --- website/docs/install/manual.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/website/docs/install/manual.md b/website/docs/install/manual.md index d9f361e..8b010a6 100644 --- a/website/docs/install/manual.md +++ b/website/docs/install/manual.md @@ -12,7 +12,7 @@ But if your server not support dockerize, you can try to install by manual. You need: -- [Node.js](https://nodejs.org/en/download/) 18 / 20.4 +- [Node.js](https://nodejs.org/en/download/) 18.12+ / 20.4+ - [pnpm](https://pnpm.io/) 8.15.3+ - [Git](https://git-scm.com/downloads) - [postgresql](https://www.postgresql.org/) @@ -34,7 +34,7 @@ pnpm build Create a `.env` file in `src/server` ```ini -DATABASE_URL="postgresql://user:pass@127.0.0.1:5432/tianji?schema=public&connection_limit=10" +DATABASE_URL="postgresql://user:pass@127.0.0.1:5432/tianji?schema=public" JWT_SECRET="replace-me-with-a-random-string" ``` @@ -42,6 +42,8 @@ Make sure your database url is correct. and dont remember create database before For more environment can check this document [environment](../environment.md) +> if you can, better to make sure your encoding is en_US.utf8, for example: `createdb -E UTF8 -l en_US.utf8 tianji` + ## Run server ```bash