planner/Makefile

22 lines
724 B
Makefile
Raw Normal View History

2024-10-29 07:12:40 +01:00
plan-deploy:
cd plan && go build -o plan . && mv plan ~/bin
2024-09-07 12:10:48 +02:00
2024-09-10 14:30:05 +02:00
sync-run:
2024-09-19 07:04:14 +02:00
cd sync/service && go run . -dbname localhost -dbport 5432 -dbname planner -dbuser test -dbpassword test -port 8092 -key testKey
2024-09-10 14:30:05 +02:00
2024-12-19 12:06:03 +01:00
sync-debug:
cd sync/service && dlv debug . -- -dbname localhost -dbport 5432 -dbname planner -dbuser test -dbpassword test -port 8092 -key testKey
sync-build:
go build -o dist/plannersync ./sync/service/
sync-deploy:
ssh server sudo /usr/bin/systemctl stop plannersync.service
scp dist/plannersync server:/usr/local/bin/plannersync
ssh server sudo /usr/bin/systemctl start plannersync.service
2024-09-18 18:04:27 +02:00
database:
docker run -e POSTGRES_USER=test -e POSTGRES_PASSWORD=test -e POSTGRES_DB=planner -p 5432:5432 postgres:16
2024-12-19 12:06:03 +01:00