1
0
mirror of https://github.com/exane/not-gwent-online synced 2024-11-20 11:26:54 +00:00
Go to file
2015-12-23 13:09:07 +01:00
assets commit 2015-11-30 17:47:17 +01:00
client commit 2015-11-30 17:47:17 +01:00
public change lobby screen 2015-07-03 11:36:59 +02:00
server more convenient build process 2015-12-23 13:09:07 +01:00
test extend filter 2015-06-23 15:00:49 +02:00
.gitignore some responsive stuff 2015-07-02 18:17:33 +02:00
Config.example.js commit 2015-11-30 17:47:17 +01:00
gulpfile.js more convenient build process 2015-12-23 13:09:07 +01:00
package.json more convenient build process 2015-12-23 13:09:07 +01:00
README.md more convenient build process 2015-12-23 13:09:07 +01:00

#Gwent-Online

#Introduction

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

#Install ##- Requirements

  • node.js installed
  • GraphicsMagick installed (for generating sprites)
  • Any Webserver like xampp, wamp, lamp etc

##- Build Make sure to clone the project in your webserver root folder, otherwise you won't be able to access your client later. The root folder is often called 'www' or 'htdocs', but depends on your installed webserver.

cd ~/myWebserverRoot
git clone https://github.com/exane/not-gwent-online
cd not-gwent-online
npm install
npm run build

##- 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 the port then 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/not-gwent-online
node server/server.js

##- Start Client

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