mirror of
https://git.robbyzambito.me/bluesky-nats-proxy/
synced 2025-12-20 08:14:50 +00:00
Added example env files Added justfile changes for deployment Added changes in main to support auth methods
23 lines
412 B
Makefile
23 lines
412 B
Makefile
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 &
|