McCarthyism/README.md

13 lines
560 B
Markdown
Raw Normal View History

2022-01-12 20:32:57 +00:00
# McCarthyism
2022-01-12 20:33:52 +00:00
A subversive card game.
2021-05-06 13:28:29 +00:00
2021-05-09 18:28:37 +00:00
## Getting started
2022-01-13 18:21:27 +00:00
Clone this repository, then run `npm install` in `front` and `back`.
2021-05-08 23:21:35 +00:00
2021-05-06 13:28:29 +00:00
## Developing
2022-01-13 18:21:27 +00:00
You can use `npm run build` to build the frontend and backend. Use `NEXT_PUBLIC_BACK_HOST=localhost:4000 npm run dev` to run the frontend and `PORT=4000 node dist/index.js` to run the backend.
You could also run `NEXT_PUBLIC_BACK_HOST='https://server.exozy.me' npm run dev` if you are only developing the frontend and connecting to the public backend server.
2021-05-09 18:28:37 +00:00
## Production deployment
2022-01-13 18:21:27 +00:00
Edit and run the script `./run`.