- Build
dmsg-discovery
anddmsg-server
binaries.$ make build
- Ensure
redis-server
is installed on the system. If not alredy installed install it. (e.g. for Linux)$ sudo apt install redis-server
- Ensure
redis
is running and listening on port 6379.$ redis-server
- Start
dmsg-discovery
in testing mode.$ ./bin/dmsg-discovery -t
- Start
dmsg-server
.$ ./bin/dmsg-server ./integration/configs/dmsgserver1.json
You need tmux to continue this test
- Start a local dmsg environment
- Clone skywire, checkout to develop
git clone https://github.com/skycoin/skywire.git underLoadDmsgServer cd underLoadDmsgServer git checkout develop
- Add
time.Sleep(15 * time.Minute)
at the beginning ofinitLauncher
at pkg > visor > init.go.... func initLauncher(ctx context.Context, v *Visor, log *logging.Logger) error { time.Sleep(15 * time.Minute) conf := v.conf.Launcher ...
- Build new binaries:
make build
- Copy
underlocal.sh
file to skywire clone directory - Run it by
bash underlocal.sh -n 200 -u localhost:9090
For close all visors and delete generated configs, use these two commands:
pkill -9 -f 'skywire-visor -c ./config'
rm config*