From e4b80ec46de7f00ba77056aa400e031ae348b2f7 Mon Sep 17 00:00:00 2001 From: Harry Brundage Date: Sat, 26 Oct 2024 07:37:18 -0400 Subject: [PATCH] Autoprovision development SSL certs when running server --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 16bdcb3..43f35f1 100644 --- a/Makefile +++ b/Makefile @@ -120,11 +120,11 @@ build-cache-version: psql $(DB_URI) -c "with impactful_packed_objects as (select hash, count(*) as count from dl.objects where packed = true and stop_version is null group by hash order by count desc limit 20) insert into dl.cache_versions (hashes) select coalesce(array_agg(hash), '{}') from impactful_packed_objects;" server: export DL_ENV=dev -server: internal/pb/fs.pb.go internal/pb/fs_grpc.pb.go +server: internal/pb/fs.pb.go internal/pb/fs_grpc.pb.go development/server.crt go run cmd/server/main.go --dburi $(DB_URI) --port $(GRPC_PORT) server-profile: export DL_ENV=dev -server-profile: internal/pb/fs.pb.go internal/pb/fs_grpc.pb.go +server-profile: internal/pb/fs.pb.go internal/pb/fs_grpc.pb.go development/server.crt go run cmd/server/main.go --dburi $(DB_URI) --port $(GRPC_PORT) --profile cpu.prof --log-level info cached: export DL_ENV=dev