mirror of
https://github.com/exane/not-gwent-online
synced 2024-11-23 19:36:53 +00:00
34 lines
805 B
Markdown
34 lines
805 B
Markdown
# Gwent-Online
|
|
|
|
# Introduction
|
|
Not-Gwent-Online is a standalone multiplayer version of Gwent, a card game from The Witcher 3.
|
|
|
|
# Install
|
|
## - Requirements
|
|
- [node.js](https://nodejs.org/) installed
|
|
- [GraphicsMagick](http://www.graphicsmagick.org) installed (for generating sprites)
|
|
|
|
## - Build
|
|
|
|
```sh
|
|
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") <br>Make sure you don't have a trailing slash after your IP or address. (e.g., "192.168.123.1/")
|
|
|
|
## - Start Server
|
|
```sh
|
|
cd ~/myProjectDirectory/not-gwent-online
|
|
node server/server.js
|
|
```
|
|
|
|
## - Start Client
|
|
- Open your browser and go to e.g. "http://192.168.123.1:3000"
|