blob: ce907b75b382c072212d223afbbf3ce4b7ef8c89 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
set dotenv-load := true
@default:
just --list
clean:
rm -rf bin/
run: build
bin/bluesky-nats-proxy
build:
go build -o bin/bluesky-nats-proxy
deploy:
ssh -t {{env('DEPLOY_HOST')}} "\
cd {{env('DEPLOY_DIR')}} && \
git pull -f --rebase && \
just clean build run-daemon"
run-daemon:
pkill bluesky-nats-proxy || true
./bin/bluesky-nats &>> /var/log/bluesky-nats-proxy.log &
|