1
0
mirror of https://github.com/exane/not-gwent-online synced 2024-10-31 10:36:53 +00:00
not-gwent-online/README.md
2015-07-11 11:50:35 +02:00

938 B

#Gwent-Online

#Introduction

Gwent-Online is an open-source project of the card-game Gwent.

#Install ##- Requirements

##- Build

cd ~/myProjectDirectory
git clone https://github.com/exane/gwent.git
cd gwent
npm install
npm run gulp

##- Config

  • go to /public and open Config.js
  • change hostname to your address. (e.g., "192.168.123.1")
    Make sure you don't have a trailing slash after your IP or address. (e.g., "192.168.123.1/")
  • If you have to change port than make sure you change the port on your server as well.
    You find the server port in /server/server.js on line #18 "app.listen(#port)";

##- Start Server

cd ~/myProjectDirectory/gwent
node server/server.js

##- Start Client

  • Open your browser and go to "192.168.123.1/gwent/public" or wherever you saved your project.