chore(webui): revert formatting changes in root README.md

This commit is contained in:
yiling
2026-06-26 13:27:04 +08:00
parent bbe36a028d
commit 5dae5740e3
3 changed files with 10 additions and 10 deletions
+7 -6
View File
@@ -50,16 +50,17 @@ Docker Compose is the fastest way to get Shumai running. You do not need to clon
curl -o docker-compose.yaml https://raw.githubusercontent.com/shumaiOne/shumai/main/docker-compose/local/docker-compose.yaml
```
3. Configure environment variables (optional):
- `SHUMAI_SERVER_PORT` controls the port the Shumai server listens on. The default is `3000`.
- By default, Shumai uses the bundled local storage service in this Docker Compose setup. To use an external S3-compatible storage instead, set `AWS_ENDPOINT_URL_S3` to the provider's endpoint URL and configure the corresponding AWS credentials and bucket settings as needed.
* `SHUMAI_SERVER_PORT` controls the port the Shumai server listens on. The default is `3000`.
* By default, Shumai uses the bundled local storage service in this Docker Compose setup. To use an external S3-compatible storage instead, set `AWS_ENDPOINT_URL_S3` to the provider's endpoint URL and configure the corresponding AWS credentials and bucket settings as needed.
```
AWS_ENDPOINT_URL_S3: S3_ENDPOINT_URL
S3_REGION: S3_REGION
S3_BUCKET: BUCKET_NAME
S3_ACCESS_KEY_ID: ID
S3_SECRET_ACCESS_KEY: KEY
```
- By default, `AWS_ENDPOINT_URL_S3` is set to: `http://localhost:{SHUMAI_SERVER_PORT}`, if you use local storage and expose Shumai on a custom host/port combination, set `AWS_ENDPOINT_URL_S3` to the external URL that browsers will use to upload files.
```
* By default, `AWS_ENDPOINT_URL_S3` is set to: `http://localhost:{SHUMAI_SERVER_PORT}`, if you use local storage and expose Shumai on a custom host/port combination, set `AWS_ENDPOINT_URL_S3` to the external URL that browsers will use to upload files.
For example, if you change the port mapping in `docker-compose.yaml` from `3000:3000` to `12345:3000` and deploy on a server with IP address `12.34.56.78`, set:
@@ -69,11 +70,11 @@ Docker Compose is the fastest way to get Shumai running. You do not need to clon
This value must be reachable from client browsers and should include the externally exposed port.
4. Start the services in detached mode:
5. Start the services in detached mode:
```bash
docker compose up -d
```
5. Open your browser and access Shumai at `http://localhost:3000` (or `http://<your-server-ip>:3000` for remote deployments).
6. Open your browser and access Shumai at `http://localhost:3000` (or `http://<your-server-ip>:3000` for remote deployments).
### Option 2: Install via NPM / Package Manager
-1
View File
@@ -137,7 +137,6 @@ Framework adapters provide a `<ParaglideMessage>` component that accepts markup
```jsx
import { ParaglideMessage } from '@inlang/paraglide-js-react' // or -vue, -svelte, -solid
;<ParaglideMessage
message={m.welcome}
inputs={{ name: 'Ada' }}
+3 -3
View File
@@ -158,9 +158,9 @@ const TREE_SHAKE_PREFERRED_LANGUAGE_STRATEGY_USED = false
const TREE_SHAKE_DEFAULT_URL_PATTERN_USED = true
const TREE_SHAKE_LOCAL_STORAGE_STRATEGY_USED = false
/** @type {any} */ ;(globalThis).__paraglide = /** @type {any} */ (globalThis).__paraglide ?? {}
/** @type {any} */ ;(globalThis).__paraglide.ssr =
/** @type {any} */ (globalThis).__paraglide.ssr ?? {}
/** @type {any} */ globalThis.__paraglide = /** @type {any} */ (globalThis).__paraglide ?? {}
/** @type {any} */
globalThis.__paraglide.ssr = /** @type {any} */ (globalThis).__paraglide.ssr ?? {}
/**
* This is a fallback to get started with a custom