40 lines
952 B
YAML
40 lines
952 B
YAML
# mprocs configuration for series similarity pipeline
|
|
# Run with: mprocs
|
|
|
|
procs:
|
|
main:
|
|
shell: "go run ."
|
|
autostart: false
|
|
stop:
|
|
send-keys: ["<C-c>"]
|
|
|
|
db:
|
|
shell: "docker-compose up"
|
|
autostart: false
|
|
stop:
|
|
send-keys: ["<C-c>"]
|
|
|
|
db-import:
|
|
shell: "docker-compose exec -T db pg_restore -U postgres -d zkill -v < postgres-schema-latest.dmp"
|
|
autostart: false
|
|
stop:
|
|
send-keys: ["<C-c>"]
|
|
|
|
go-tidy:
|
|
shell: "go mod tidy"
|
|
autostart: false
|
|
stop:
|
|
send-keys: ["<C-c>"]
|
|
|
|
gorm-gentool-install:
|
|
shell: "go install gorm.io/gen/tools/gentool@latest"
|
|
autostart: false
|
|
stop:
|
|
send-keys: ["<C-c>"]
|
|
|
|
gorm-gentool-generate:
|
|
shell: 'gentool -db postgres -dsn "host=localhost user=postgres password=postgres dbname=zkill port=5432 sslmode=disable search_path=evesde" -outPath types -modelPkgName models -onlyModel'
|
|
autostart: false
|
|
stop:
|
|
send-keys: ["<C-c>"]
|