docs: update (#222)

This commit is contained in:
kimatata
2025-05-06 20:53:28 +09:00
committed by GitHub
parent a5bb116006
commit 85d92ec5b4
6 changed files with 58 additions and 60 deletions

View File

@@ -4,22 +4,6 @@ sidebar_position: 2
# Backend
## Environmental variables
:::warning[Strongly Recommended]
Although the system will work with default settings without setting environment variables, it is strongly recommended to set SECRET_KEY in production.
:::
Create `.env` File on `backend/`
```.env
FRONTEND_ORIGIN=http://localhost:8000
PORT=8001
SECRET_KEY=your-secret-key
```
## Set up database
```bash

View File

@@ -4,20 +4,6 @@ sidebar_position: 3
# Frontend
## Environmental variables
:::info
Although the system will work with default settings without setting environment variables, but you can override the settings by setting environment variables.
:::
Create `.env` File on `frontend/`
```
NEXT_PUBLIC_BACKEND_ORIGIN=http://localhost:8001
```
## Start frontend server with dev mode
```bash