The full suite of Gladius binaries (Network Gateway, EdgeD, CLI, and Guardian) to run a node.
Current Build Status
Windows and macOS : https://gladius.io/download
- Windows: Open
gladius setup.exeand use the installer - macOS: Open the DMG and drag
Gladiusto the Applications folder
Linux : curl -s https://raw.githubusercontent.com/gladiusio/gladius-node/master/installers/install.sh | sudo bash
Forward Ports : All platforms by default need ports 8080 and 7947 forwarded to the node
Windows and macOS
- Download and install (see above)
- Open the
Gladiusapplication - Follow the instructions in the user interface
- You can close the application and it will run in the background
Windows: To turn off the application completely use the task manager (Kill gladius-guardian/edged/network-gateway) this will be changed in next release.
macOS: To turn off the application completely use the menu bar (Right click Gladius -> Quit all)
Linux
sudo gladius-guardian install(Install guardian as service)sudo gladius-guardian start(Start it as a service withsystemd. It will start up automatically on reboot)gladius start(Instruct Guardian to start Gladius services. This needs to be done after reboot)gladiusUse the CLI!
Docker
- Clone this repo,
git clone git@github.com:gladiusio/gladius-node.git - Navigate to the
gladius-nodedirectory - Run
docker-compose upto start services
Services via Docker should now be running. You will have to create / open a wallet before use via curl
NOTE: All install does is create a systemd service for the guardian, if you don't want to do that you can run it in a seperate window by calling gladius-guardian
If you would like to contribute to the project:
- Fork the repository you would like to edit (likely Network Gateway, EdgeD, CLI, or Guardian)
- Make your changes
- Make a pull request
- Send an email to cla@gladius.io to sign our Contributor Licensing Agreement
Our builds are done inside containers to allow easier cross platform CGO development, so you will need docker to build the binaries.
To change the git version (or git URL) that is checked out, modify the .env file. If you modify the directories or the URLs, you will want to run make docker-image to update the image.
-
First run
make docker-imageordocker pull gladiusio/node-env -
To build (run with
-j 4to run these jobs in parallel)maketo build binaries for all supported operating systemsmake binaries-<os>to build for a specific OS
-
To release
make releasesto build all release tarballs
All output will be placed in your local ./build