* First pass at an all-in-one compose project * Sort out dependencies so uplink can build in docker * Added the final bits to make this work * Add readme for all-in-one * Fix sed to work on OS X and Linux * Make the readme for all-in-one better * Only bring up the satellite and uplink after fixing the mock overlay * Use a dummy value for mock overlay for now * Finishing touches * Fix url form for aws cli tool * Move files out of all-in-one directory to help with directory confusion. * Added a make target to make all-in-one even better
1.3 KiB
Steps to setup a local network
Run make all-in-one
from the repo root. This will build new images and stand
them up locally. If you want to test a different version, run
VERSION=latest make all-in-one
. If you want to stand them up by hand, run the
following:
-
make images
If you don't want to build the images locally, you can skip this step. Otherwise, you'll need the version number presented here if you don't use latest in the next step:Built version: c6cd912-all-in-one-go1.10
-
export VERSION=latest
Export the version of the network you want to run. Latest should be ok, but if you're testing something else, set the version here. ex:c6cd912-all-in-one-go1.10
Usable images should be pushed to the Docker Hub: -
docker-compose up -d storage-node
Create the first storage node. -
scripts/fix-mock-overlay
Fix the mock-overlay flag for the satellite. This is needed until the overlay network is populated from kademlia correctly. -
docker-compose up satellite uplink
Bring up the satellite and uplink -
Visit http://localhost:7777 or use the aws tool with
--endpoint=http://localhost:7777