- Install python2, virtualenv
- Create virtual environment with:
virtualenv -p python2 py2-env
and activate it:source py2-env/bin/activate
- Install dependencies with pip: netifaces pyro4, py-cpuinfo, requests, flask
Run ubuntu_install.sh
- Install vagrant
- Use
vagrant up master (worker1)
to get fully configured ubuntu box with PARCS Python - Use
vagrant ssh master (worker1)
to connect to the box.
IP is an optional parameter. Use it in case network_utils.py#get_ip unable to detect IP.
python2 start.py -config /path_to_config/conf.config
Config file examples:
Master:
[Node]
master=True
port=8080
Worker:
[Node]
master=False
port=8090
[Master Node]
ip=localhost
port=8080
Use python2 start.py -h
for help