diff options
| -rw-r--r-- | .gitignore | 3 | ||||
| -rw-r--r-- | Makefile | 6 | ||||
| -rw-r--r-- | backend/.Dockerignore (renamed from .Dockerignore) | 0 | ||||
| -rw-r--r-- | backend/Dockerfile (renamed from Dockerfile) | 0 | ||||
| -rw-r--r-- | backend/api/api.go (renamed from api/api.go) | 0 | ||||
| -rw-r--r-- | backend/api/ip.go (renamed from api/ip.go) | 0 | ||||
| -rw-r--r-- | backend/api/routes.go (renamed from api/routes.go) | 0 | ||||
| -rw-r--r-- | backend/cache/cache.go (renamed from cache/cache.go) | 0 | ||||
| -rw-r--r-- | backend/db/db.go (renamed from db/db.go) | 0 | ||||
| -rw-r--r-- | backend/db/mongo.go (renamed from db/mongo.go) | 0 | ||||
| -rw-r--r-- | backend/db/schemas.go (renamed from db/schemas.go) | 0 | ||||
| -rw-r--r-- | backend/go.mod (renamed from go.mod) | 0 | ||||
| -rw-r--r-- | backend/hashing/hash.go (renamed from hashing/hash.go) | 0 | ||||
| -rw-r--r-- | backend/main.go (renamed from main.go) | 0 |
14 files changed, 5 insertions, 4 deletions
@@ -1,3 +1,4 @@ .env .idea -go.sum
\ No newline at end of file +go.sum +.DS_Store
\ No newline at end of file @@ -1,9 +1,9 @@ run: - go run . + cd backend && go run . lint: - golangci-lint run + cd backend && golangci-lint run docker-build: - docker build -t jzhao2k19/ctrl-v:latest . + docker build -t jzhao2k19/ctrl-v:latest ./backend docker-run: docker run -p 8080:8080 jzhao2k19/ctrl-v:latest docker-all: docker-build docker-run diff --git a/.Dockerignore b/backend/.Dockerignore index 10d4fb7..10d4fb7 100644 --- a/.Dockerignore +++ b/backend/.Dockerignore diff --git a/Dockerfile b/backend/Dockerfile index b533070..b533070 100644 --- a/Dockerfile +++ b/backend/Dockerfile diff --git a/api/api.go b/backend/api/api.go index c197774..c197774 100644 --- a/api/api.go +++ b/backend/api/api.go diff --git a/api/ip.go b/backend/api/ip.go index 0d135b3..0d135b3 100644 --- a/api/ip.go +++ b/backend/api/ip.go diff --git a/api/routes.go b/backend/api/routes.go index 760ee35..760ee35 100644 --- a/api/routes.go +++ b/backend/api/routes.go diff --git a/cache/cache.go b/backend/cache/cache.go index bac7ea8..bac7ea8 100644 --- a/cache/cache.go +++ b/backend/cache/cache.go diff --git a/db/db.go b/backend/db/db.go index 053ba87..053ba87 100644 --- a/db/db.go +++ b/backend/db/db.go diff --git a/db/mongo.go b/backend/db/mongo.go index 4c8a739..4c8a739 100644 --- a/db/mongo.go +++ b/backend/db/mongo.go diff --git a/db/schemas.go b/backend/db/schemas.go index bdfa60c..bdfa60c 100644 --- a/db/schemas.go +++ b/backend/db/schemas.go diff --git a/hashing/hash.go b/backend/hashing/hash.go index 400659e..400659e 100644 --- a/hashing/hash.go +++ b/backend/hashing/hash.go diff --git a/main.go b/backend/main.go index 18e141d..18e141d 100644 --- a/main.go +++ b/backend/main.go |