2022-07-01 23:45:33 +02:00
|
|
|
# SH2 Server Commands
|
|
|
|
|
|
|
|
```bash
|
2022-12-29 02:47:12 +01:00
|
|
|
# @scripthaus command dump-schema-dev
|
2023-11-01 09:26:19 +01:00
|
|
|
sqlite3 ~/.waveterm-dev/waveterm.db .schema > db/schema.sql
|
2022-07-01 23:45:33 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
```bash
|
2022-12-29 02:47:12 +01:00
|
|
|
# @scripthaus command opendb-dev
|
2023-11-01 09:26:19 +01:00
|
|
|
sqlite3 ~/.waveterm-dev/waveterm.db
|
2022-07-01 23:45:33 +02:00
|
|
|
```
|
|
|
|
|
2022-07-02 02:38:36 +02:00
|
|
|
```bash
|
|
|
|
# @scripthaus command build
|
2023-11-01 09:26:19 +01:00
|
|
|
go build -ldflags "-X main.BuildTime=$(date +'%Y%m%d%H%M')" -o bin/wavesrv ./cmd
|
2022-07-02 02:38:36 +02:00
|
|
|
```
|