Skip to content

Commit

Permalink
Autoprovision development SSL certs when running server
Browse files Browse the repository at this point in the history
  • Loading branch information
airhorns committed Oct 26, 2024
1 parent 29361cd commit e4b80ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e4b80ec

Please sign in to comment.