System Requirements to Publish a SingularityNET Service


#1

Step 1a. Setup your system

Requirements

For example, installing the requirements using Ubuntu 18.04:

sudo apt-get update
sudo apt-get install wget git
sudo apt-get install python3 python3-pip
sudo apt-get install nodejs npm
sudo apt-get install libudev-dev libusb-1.0-0-dev
sudo pip3 install snet-cli
# !!! Change version to the latest snet-daemon from releases link above
SNETD_VERSION="v0.1.6"
wget https://github.com/singnet/snet-daemon/releases/download/$SNETD_VERSION/snetd-linux-amd64
chmod a+x snetd-linux-amd64
sudo mv snetd-linux-amd64 /usr/bin/snetd

Setup environment variables (they are explained later in this tutorial as they’re used):

ORGANIZATION_ID="$USER"-org
ORGANIZATION_NAME="The $USER's Organization"
SERVICE_ID=example-service
SERVICE_NAME="SNET Example Service"
SERVICE_IP=127.0.0.1
SERVICE_PORT=7000
DAEMON_HOST=$SERVICE_IP
DAEMON_PORT=$SERVICE_PORT
USER_ID = $USER

After installation, you can proceed with Tutorial/Publish/Step3.


This is a companion discussion topic for the original entry at https://dev.singularitynet.io/tutorials/requirements/

#2

Can you post on the telegram developers thread please ibby… I have been blocked. :slight_smile:


#3

So cool, I will look into the singnet tutorial

Btw, is it posible to publish services currently?

Going to the beta.singularitynet I can see only snet services


#4

Usually for hosting AI services agents do we need to buy or host our own machines?


#5

You should be able to host on any platform, for example any VPS should do.