Merge pull request #323 from haiwen/env-for-12.0
Some checks failed
Deploy CI / deploy (push) Has been cancelled

.env for 12.0
This commit is contained in:
Daniel Pan 2024-09-14 17:01:41 +08:00 committed by GitHub
commit 4453ba4fe9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -57,7 +57,17 @@ sudo pip3 install future==1.0.* mysqlclient==2.2.* pillow==10.4.* sqlalchemy==2.
upgrade/upgrade_11.0_12.0.sh
```
### 3) Start Seafile-12.0.x server
### 3) Create the `.env` file in conf/ directory
conf/.env
```env
JWT_PRIVATE_KEY=xxx
```
Note: JWT_PRIVATE_KEY, A random string with a length of no less than 32 characters, generate example: `pwgen -s 40 1`
### 4) Start Seafile-12.0.x server
## Upgrade SeaDoc from 0.8 to 1.0