waveterm/scripthaus.md

17 lines
309 B
Markdown
Raw Normal View History

2022-07-01 23:45:33 +02:00
# SH2 Server Commands
```bash
# @scripthaus command dump-schema
sqlite3 /Users/mike/scripthaus/sh2.db .schema > db/schema.sql
```
```bash
# @scripthaus command opendb
sqlite3 /Users/mike/scripthaus/sh2.db
```
```bash
# @scripthaus command build
go build -o ~/scripthaus/local-server cmd/main-server.go
```