mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-29 12:24:39 +00:00
docs(readme): add daemon commands documentation under option 2
This commit is contained in:
@@ -140,6 +140,25 @@ Start the application from your workspace folder:
|
|||||||
shumai
|
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`.
|
On startup, Shumai will automatically run database migrations and start the web server at `http://localhost:3000`.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
Reference in New Issue
Block a user