Team project (RS Clone 2022Q3) by @shopot, @sinastya, and @gentoosiast
- Clone this repository on your local computer
- Install depends npm packages of Node.js for client and server
$ git clone https://github.com/shopot/rsclone.git
$ cd rsclone
$ git checkout develop
$ git pull
$ cd client
$ npm install
$ cd ../server
$ npm install
- configure .env as needed for production mode
# inside rsclone directory
$ cd ./server
# development and watch mode
$ npm run start:dev
# production mode
$ cp .env-example .env
# modify .env as needed
$ npm run start:prod
- configure .env as needed for production mode
# inside rsclone directory
$ cd ./client
# development and watch mode
$ npm run start
# production
$ cp .env.development .env.production
# modify .env.production as needed
$ npm run build
Card Game Durak is now ready! You can access it via http://localhost:3000
.