1
0
mirror of https://github.com/exane/not-gwent-online synced 2024-11-23 19:36:53 +00:00
not-gwent-online/README.md

34 lines
797 B
Markdown
Raw Normal View History

2015-07-11 09:50:35 +00:00
#Gwent-Online
#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
#Install
##- Requirements
- [node.js](https://nodejs.org/) installed
- [GraphicsMagick](http://www.graphicsmagick.org) installed (for generating sprites)
##- 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
2015-07-11 09:50:35 +00:00
##- Config
- 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/")
##- 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
```
##- Start Client
2016-06-04 08:12:17 +00:00
- Open your browser and go to e.g. "http://192.168.123.1:3000"