In order to setup this project make sure to run these commands:
cd
to the project's root folder in a terminal/command line- Run the
npm install
command in a terminal with directory pointed to the project folder cd
into these directories in separate terminals or command lines and runnpm install
backend
gamer-lobby
cd
to the project's root folder in a terminal/command line- Once in the project's root folder there are two command options:
- Run
npm run setup
if all global dependencies are installed - Run
npm run setup:env
if @angular/cli, and nodemon aren't installed globally
Running the server is as easy as running
npm run start
in the root folderIf this method fails, I suggest running the servers manually. Here's how:
- nodemon ./backend/server.js
cd
intogamer-lobby
then runng serve --open
Note: Make sure to run these commands in a terminal/command line
cd
'd into the project's root folder