Download docker Nodejs v20 or greater
npm install
Edit the release.sh file with the right version you want. Edit the test.sh file with the right version you want.
sh release.sh
Once built you can run:
sh test.sh
Be sure to have the commande line heliades
in your PATH.
Then run:
node server.js
you can go on localhost:8080 the Manager will use your local heliades
docker compose -f docker-compose-5-nodes.yml up
Be sure to have this directory path architecture:
DirectoryX/
helios-core/
Helios-Docker-Chain-Manager/
copy the Dockerfile in DirectoryX/ copy the docker-compose.yml in DirectoryX/ copy clean.sh in DirectoryX/
cp Dockerfile ../
cp docker-compose.yml ../
cp clean.sh ../
cd ..
Replace this lines in Dockerfile
RUN git clone https://github.com/helios-network/helios-core.git
RUN git clone https://github.com/Helios-Chain-Labs/Helios-Docker-Chain-Manager.git
per
COPY ./helios-core ./helios-core
COPY ./Helios-Docker-Chain-Manager ./Helios-Docker-Chain-Manager
then you are ready for using the manager and docker-compose with pool of nodes and with your locals projects.
docker compose up
And voila!
For having more docker-compose cases you can generate some docker-compose by using docker-compose-x.js