not-gwent-online/README.md

34 lines
805 B
Markdown
Raw Permalink Normal View History

2017-04-18 05:00:00 +00:00
# Gwent-Online
2015-07-11 09:50:35 +00:00
2017-04-18 05:00:00 +00:00
# Introduction
2016-01-11 09:38:26 +00:00
Not-Gwent-Online is a standalone multiplayer version of Gwent, a card game from The Witcher 3.
2015-07-11 09:50:35 +00:00
2017-04-18 05:00:00 +00:00
# Install
## - Requirements
2015-07-11 09:50:35 +00:00
- [node.js](https://nodejs.org/) installed
- [GraphicsMagick](http://www.graphicsmagick.org) installed (for generating sprites)
2017-04-18 05:00:00 +00:00
## - Build
2016-06-04 07:30:47 +00:00
```sh
2015-12-23 12:09:07 +00:00
cd ~/myWebserverRoot
git clone https://github.com/exane/not-gwent-online
cd not-gwent-online
2015-07-11 09:50:35 +00:00
npm install
2015-12-23 12:09:07 +00:00
npm run build
2015-07-11 09:50:35 +00:00
```
2015-12-23 12:09:07 +00:00
2017-04-18 05:00:00 +00:00
## - Config
2015-07-11 09:50:35 +00:00
- go to /public and open Config.js
- change hostname to your address. (e.g., "192.168.123.1") <br>Make sure you don't have a trailing slash after your IP or address. (e.g., "192.168.123.1/")
2017-04-18 05:00:00 +00:00
## - Start Server
2016-06-04 07:30:47 +00:00
```sh
2015-12-23 12:09:07 +00:00
cd ~/myProjectDirectory/not-gwent-online
2015-07-11 09:50:35 +00:00
node server/server.js
```
2017-04-18 05:00:00 +00:00
## - Start Client
2016-06-04 08:12:17 +00:00
- Open your browser and go to e.g. "http://192.168.123.1:3000"