diff options
| author | Ryan Mehri <[email protected]> | 2020-05-25 23:09:20 -0600 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-05-25 23:09:20 -0600 |
| commit | a104b512efb599d83c046dbea95379669b87bb8c (patch) | |
| tree | 403e10b4ec1ebc78d7e6f16d1f50f299c973e242 /README.md | |
| parent | Merge pull request #32 from jackyzha0/latex-renderer (diff) | |
| parent | update makefile and readme (diff) | |
| download | ctrl-v-a104b512efb599d83c046dbea95379669b87bb8c.tar.xz ctrl-v-a104b512efb599d83c046dbea95379669b87bb8c.zip | |
Merge pull request #33 from jackyzha0/firebase
deploy
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -8,14 +8,20 @@ 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` +`make dev` — starts React development server on `:3000` and backend on `:8080` + +`make deploy` — deploys both frontend and backend #### Frontend `make fe-run` — starts React development server on `:3000` `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 +33,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 |