diff options
| author | jackyzha0 <[email protected]> | 2020-05-25 21:55:50 -0700 |
|---|---|---|
| committer | jackyzha0 <[email protected]> | 2020-05-25 21:55:50 -0700 |
| commit | c6a2a1e93179675c50743014933b74f8733c667d (patch) | |
| tree | 13b914750a639abf741fe82df5469e31e9309d82 /README.md | |
| parent | add firebase init (diff) | |
| download | ctrl-v-c6a2a1e93179675c50743014933b74f8733c667d.tar.xz ctrl-v-c6a2a1e93179675c50743014933b74f8733c667d.zip | |
add more build commands and added prod backend url
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -8,6 +8,8 @@ Frontend is in React and backend is in Go.  ## developing +when doing local backend development, make sure you change the backend address to be localhost. You can find this on Line 4 of `frontend/src/helpers/httpHelper.js` + #### Common `make all` — starts React development server on `:3000` and backend on `:8080` @@ -16,6 +18,8 @@ Frontend is in React and backend is in Go. `make fe-build` — builds development release of frontend in `frontend/build` +`make firebase` — deploys dev release of frontend to Firebase. Live at `ctrl-v.app` + #### Backend `make run` — starts backend on `:8080` @@ -27,4 +31,6 @@ Frontend is in React and backend is in Go. `make docker-all` — builds and runs built Docker image on `:8080` -`make docker-push` — pushes build Docker image to Dockerhub
\ No newline at end of file +`make docker-push` — pushes build Docker image to Dockerhub + +`make gcr` — tags and pushes iamge to Google Container Registry for Cloud Run. Changes are live on `api.ctrl-v.app`
\ No newline at end of file |