McCarthyism/README.md

12 lines
663 B
Markdown
Raw Normal View History

2021-04-30 01:54:06 +00:00
# BSX
2021-05-09 18:28:37 +00:00
The card game BS, but better!
2021-05-06 13:28:29 +00:00
2021-05-09 18:28:37 +00:00
## 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.
2021-05-08 23:21:35 +00:00
2021-05-06 13:28:29 +00:00
## Developing
2021-05-09 18:28:37 +00:00
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`.