aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorjackyzha0 <[email protected]>2021-03-01 16:45:01 -0800
committerjackyzha0 <[email protected]>2021-03-01 16:45:01 -0800
commit616c18c5708d4a1c6942eb0ffd69a893427688db (patch)
tree6dd99e43f8d8680ec9a0d5a129679b008790214c /README.md
parentfix(cfg): no longer require .env when reading env vars (diff)
downloadctrl-v-616c18c5708d4a1c6942eb0ffd69a893427688db.tar.xz
ctrl-v-616c18c5708d4a1c6942eb0ffd69a893427688db.zip
docs: remove deprecated manual scripts from readme and makefile
Diffstat (limited to 'README.md')
-rw-r--r--README.md25
1 files changed, 8 insertions, 17 deletions
diff --git a/README.md b/README.md
index d49a833..fe1b5f5 100644
--- a/README.md
+++ b/README.md
@@ -1,37 +1,28 @@
-# ctrl-v source
-### a modern, open-source pastebin with latex and markdown rendering support
-
-Frontend is in React and backend is in Go.
+# ctrl-v
+### A modern, open-source pastebin with latex and markdown rendering support
+Frontend is in React and backend is in Go. Deployed via Firebase Hosting and Google Cloud Run.
![Go Paste Example](https://user-images.githubusercontent.com/23178940/83225601-06f0bb80-a135-11ea-9af2-9f2946459fe7.png)
![Markdown Rendering](https://user-images.githubusercontent.com/23178940/83225605-0821e880-a135-11ea-9efd-e7242ebde265.png)
![Showing off another theme!](https://user-images.githubusercontent.com/23178940/83225610-0a844280-a135-11ea-8c7c-4a0ecb13f379.png)
![Latex Rendering](https://user-images.githubusercontent.com/23178940/83225613-0c4e0600-a135-11ea-9f27-e5653cf9f343.png)
-## developing
+## 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
+### Common
`make dev` &mdash; starts React development server on `:3000` and backend on `:8080`
-`make deploy` &mdash; deploys both frontend and backend
-
-#### Frontend
+### Frontend
`make fe-run` &mdash; starts React development server on `:3000`
`make fe-build` &mdash; builds development release of frontend in `frontend/build`
-`make fe-deploy` &mdash; deploys dev release of frontend to Firebase. Live at `ctrl-v.app`
-
-#### Backend
+### Backend
`make run` &mdash; starts backend on `:8080`
`make lint` &mdash; lints all Go files
`make docker-build` &mdash; builds Docker image of current backend
-`make docker-run` &mdash; runs built Docker image on `:8080`
-
-`make docker-push` &mdash; pushes build Docker image to Dockerhub
-
-`make gcr` &mdash; 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
+`make docker-run` &mdash; runs built Docker image on `:8080` \ No newline at end of file