diff options
author | Anthony Wang | 2022-01-13 12:21:27 -0600 |
---|---|---|
committer | Anthony Wang | 2022-01-13 12:21:27 -0600 |
commit | de461a3da41f6ff2810c5781c5bd504f0e4fa8a0 (patch) | |
tree | d84279d3d81f4902610b1845a1d28842d48e2649 | |
parent | aad9977d79cd0e50c06ba4970de80265b9ad86c3 (diff) |
Clean up README instructions
-rw-r--r-- | README.md | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -2,10 +2,12 @@ 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. +Clone this repository, then run `npm install` in `front` and `back`. ## 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. +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. ## Production deployment -Edit the environmental variables in `./env` and use the script `./run`. +Edit and run the script `./run`.
\ No newline at end of file |