This is simple Teonet micriservice application which return linux fortune messages. The fortune application should be installed first.
There are various ways to start this Teonet microservice application:
git clone https://github.com/teonet-go/teofortune
cd teofortune
go run .
go install github.com/teonet-go/teofortune .
teofortune
docker run -d -it --network=host --restart=always --name teofortune -v \
$HOME/.config/teonet/teofortune:/root/.config/teonet/teofortune ghcr.io/teonet-go/\
teofortune:latest teofortune -loglevel=debug
First of all you can use and check teofortune
in Teonet cli application which is placed in Teonet package.
Install Teonet cli application:
go install github.com/teonet-go/teonet ./cmd/teonet
Run the Teonet cli application:
teonet
In the Teonet cli application print commands:
Change address to your application address which you start before. Or you can use this address, but than you will connect to teofortune
microservice application running in Teonet cloud. The address prints after you start teonet application in string:
Teonet address: 8agv3IrXQk7INHy5rVlbCxMWVmOOCoQgZBF
connectto 8agv3IrXQk7INHy5rVlbCxMWVmOOCoQgZBF
api 8agv3IrXQk7INHy5rVlbCxMWVmOOCoQgZBF
api 8agv3IrXQk7INHy5rVlbCxMWVmOOCoQgZBF forta