docs(readme): add daemon commands documentation under option 2

This commit is contained in:
yiling
2026-06-21 10:34:15 +08:00
parent ce8fc5d128
commit cbb25b49e7
+19
View File
@@ -140,6 +140,25 @@ Start the application from your workspace folder:
shumai
```
Alternatively, you can run and manage Shumai in daemon mode:
- **Start in daemon mode**:
```bash
shumai -d
```
- **Stop Shumai**:
```bash
shumai stop
```
- **Restart Shumai**:
```bash
shumai restart
```
- **Show/tail logs**:
```bash
shumai logs
```
On startup, Shumai will automatically run database migrations and start the web server at `http://localhost:3000`.
---