-
Notifications
You must be signed in to change notification settings - Fork 2
Running instructions
Before you run the master, make it sure, that the src/website/hash/user_authentication_data.txt exists and contains these two lines:
[website username]
[website password]
You can run the master locally in terminal from the root of the project with the following command:
bin/master
or if you installed the master globally (exported into the PATH variable - you can follow this guide), you can run it from terminal in any directory:
master
You can run the slave locally in terminal from the directory where you saved it from master or from the bin directory of the project if you built the binaries
slave [flag arguments]
If you installed the slave globally (exported into the PATH variable - you can follow this guide), you can run it from terminal in any directory:
slave [flag arguments]
- -slaveName
With this flag you can set the desired name for the slave. If you don't add this flag, the default slave name is "SLAVE NAME UNSPECIFIED". If you want to use spaces, don't forget to put the name between quotes.
- -port
With this flag you can set the slave output port. Normally you don't need to change this. The default value is 8080.
- -masterIP
With this flag, specify the IP address of master. The default value is localhost.
- -masterPort
With this flag, specify the port number of master. The default port number is 5000.
Example usage:
slave -slaveName="Main Lobby" -port=9999 -masterIP=10.0.0.195 -masterPort=9090
Copyright © 2014 Prezi Inc. | Contact