(Deprecated) It is not possible to create AKA masternodes anymore. Setup will be updated, once AKA team implements necessary changes for masternodes to return. (You can still use this setup to setup standard akroma node - no rewards - to support AKA decentralization.)
Note: All parameters inside [] has to be submitted without [], e.g. --user=[user]
as --user=akroma
0. cd [path to directory containing this readme]
- one of commands below depending of your preference
sudo /bin/sh ./configurator --full
# full setup on current usersudo ./configurator --full --user=[user] --port=[port]
# full setup on defined user with specific port (directory location and structure is preserved)
- register your akroma node on https://akroma.io/
- setup outputs node info at the end, you can also find it inside file
./data/node.info
(cat ./data/node.info
)
- setup outputs node info at the end, you can also find it inside file
WARNING: These steps may differ based on your OS. This setup is recommended ONLY for advanced users.
-
install docker according to the official documentation (https://docs.docker.com/install/)
-
install docker compose
- for linux systems:
curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
- (only on unix based systems)
chmod +x /usr/local/bin/docker-compose
- for linux systems:
-
docker-compose --version
# Verifying if docker-compose works correctly
-
set write permissions for user id 1000 for directory
./data
- on unix based systems with POSIX shell you can use:
sh ./tools/allow_container_write.sh -f -p ./data
- (non default) if you use user remap feature in docker, set allow write permission for user remap id + 1000
- on unix based systems with POSIX shell you can use:
-
docker-compose up -d
# builds and starts masternode
docker-compose down
# stops masternodedocker-compose up
# starts masternode with log output into consoledocker-compose up -d
# starts masternode in detached mode (no console output)docker-compose logs
# displays log output from servicesdocker exec --user akroma -it [container id] bash
# opens bash inside containerdocker ps
# lists running containers (you can find out container id in left column)