A subversive card game
Find a file
2022-01-12 14:48:47 -06:00
back Set socket.io port correctly 2022-01-12 14:48:47 -06:00
core Update npm packages 2022-01-12 14:34:28 -06:00
front Rebuild node src 2022-01-12 14:48:34 -06:00
.gitignore Update README.md 2021-05-05 22:28:54 -05:00
build Add run script 2021-05-08 18:20:25 -05:00
env Move SSL to proxy so we don't need sudo for backend 2022-01-12 14:36:59 -06:00
LICENSE Create LICENSE 2021-05-06 20:52:13 +00:00
README.md Update description in README 2022-01-12 14:33:52 -06:00
run Move SSL to proxy so we don't need sudo for backend 2022-01-12 14:36:59 -06:00

McCarthyism

A subversive card game.

Getting started

git clone this repository, then run npm install in front and back. You may have to run it multiple times for it to pull in all dependencies.

Developing

You can 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 after building it with npm run build. You could also just run NEXT_PUBLIC_BACK_HOST='https://server.exozy.me' npm run dev if you are only developing the frontend and connect to the public backend server.

Production deployment

Edit the environmental variables in ./env and use the script ./run.