Skip to content

Commit 75b8261

Browse files
committed
backend logging
1 parent 01ef76d commit 75b8261

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ jobs:
3333
- name: React tests
3434
run: |
3535
GO_MOD=go.mod docker compose --env-file=./config/ci.env.dev up --wait --build backend db staging_db frontend
36-
docker network ls
36+
docker container logs go_backend
3737
docker exec frontend curl http://backend:8080/api/filesystem/info
3838
# docker exec frontend npm test

backend/main.go

+2
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,7 @@ func main() {
3030
handler := cors.Default().Handler(mux)
3131
handler = c.Handler(handler)
3232

33+
log.Print("CMS Go backend starting on port :8080 :D.")
34+
log.Print("Amongus.")
3335
log.Fatal(http.ListenAndServe(":8080", handler))
3436
}

0 commit comments

Comments
 (0)