blob: fe1b5f514b2118063711f83f883ccbd81d2c64fb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# 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.




## 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 dev` — starts React development server on `:3000` and backend on `:8080`
### Frontend
`make fe-run` — starts React development server on `:3000`
`make fe-build` — builds development release of frontend in `frontend/build`
### Backend
`make run` — starts backend on `:8080`
`make lint` — lints all Go files
`make docker-build` — builds Docker image of current backend
`make docker-run` — runs built Docker image on `:8080`
|