-
Notifications
You must be signed in to change notification settings - Fork 100
setup dev client application
Roman Krejčík edited this page May 11, 2021
·
3 revisions
Setting up the client application.
The client application can be found here: github.com/farin/JCloisterZone-Client
- yarn
- NodeJS
- VS C++ package
- Download the git repo
- run
yarn install
- fix errors.
- run
yarn run dev
- if application starts 👍
- Go to %AppData% (or click on config file path in About dialog)
- open 'Electron/jcz-config.json'
- edit:
- 'devMode': 'true'
- 'enginePath': 'localhost:9000'
- start local engine: local engine setup
- run
yarn run dev
-
JCZ_CONFIG
- path to file - use different json settings file -
JCZ_NETWORK_DELAY
- range - simulate network delay to host, each messages is randomly delaye in given range eg JCZ_NETWORK_DELAY=100-500 means random delay between 100 and 500 miliseconds