this repo has no description
at main 1.5 kB view raw
1set shell := ["bash", "-cu"] 2 3lexdir := "../lexicons" 4 5default: 6 @just --list 7 8lexgen: 9 go run ./cmd/lexgen/ --build-file cmd/lexgen/vylet.json {{lexdir}} 10 11handlergen: 12 go run ./cmd/handlergen --ignored-lexicons "com.atproto.*" --lexicons-path "../lexicons" --out-path "./generated/handlers" --lexgen-package-url "github.com/vylet-app/go/generated/vylet" --lexgen-package-name "vylet" --package-name "handlers" 13 14cborgen: 15 go run ./gen 16 17migrate-up: 18 go run ./cmd/database/migrate -k vylet up 19 20migrate-down: 21 go run ./cmd/database/migrate -k vylet down 22 23migrate-create name: 24 #!/usr/bin/env bash 25 timestamp=$(date +%s) 26 touch migrations/${timestamp}_{{name}}.up.cql 27 touch migrations/${timestamp}_{{name}}.down.cql 28 echo "Created migrations/${timestamp}_{{name}}.up.cql" 29 echo "Created migrations/${timestamp}_{{name}}.down.cql" 30 31deps: 32 go mod download 33 go install google.golang.org/protobuf/cmd/protoc-gen-go@latest 34 go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest 35 36cassandra-setup: 37 ./scripts/setup-cassandra.sh 38 39cassandra-shell: 40 docker exec -it cassandra cqlsh 41 42run-database-server: 43 go run ./cmd/database 44 45run-firehose: 46 go run ./cmd/bus/firehose --desired-collections "app.vylet.*" --websocket-host "wss://bsky.network" --output-topic firehose-events-prod 47 48run-indexer: 49 go run ./cmd/indexer 50 51run-cdn: 52 go run ./cmd/cdn 53 54run-api: 55 go run ./cmd/api 56 57run-dev-env: 58 bash dev.sh