How To Run GaGa On MacOS

How to easily install a GaGaNode on MacOS.

Register

https://dashboard.gaganode.com/registeropen in new window

Click the button “Install & Runopen in new window” and you can find out your token and installation tutorial in this page.

1.Download & Install

In the Terminal app on your Macopen in new window, do one of the following:

curl -o app-darwin-amd64.tar.gz https://assets.coreservice.io/public/package/18/app/1.0.3/app-1_0_3.tar.gz && tar -zxf app-darwin-amd64.tar.gz && rm -f app-darwin-amd64.tar.gz && cd ./app-darwin-amd64 && ./app service install

console output:

gaga-mac curl -o app-darwin-amd64.tar.gz https://assets.coreservice.io/public/package/18/app/1.0.3/app-1_0_3.tar.gz && tar -zxf app-darwin-amd64.tar.gz && rm -f app-darwin-amd64.tar.gz && cd ./app-darwin-amd64 && ./app service install
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 8161k  100 8161k    0     0  3053k      0  0:00:02  0:00:02 --:--:-- 3061k
Install app service:					[  OK  ]

2.Start Service

./app service start

console output:

➜  app-darwin-amd64 ./app service start
Starting app service:					[  OK  ]

3.Check APP Status

./app status

console output:

➜  app-darwin-amd64 ./app status
[gaganode]:		local version:[1.0.3] latest version:[1.0.3] status:[TO_DOWNLOAD] 

Status List:

TO_DOWNLOAD                     # app to download
DOWNLOADED                      # app downloaded
INSTALLED                       # app installed
RUNNING                         # app running

4.Set Token

./apps/gaganode/gaganode config set --token=`your token`

console output:

➜  app-darwin-amd64 ./apps/gaganode/gaganode config set --token=`your token`
new config generated
restart for the new configuration to take effect

5.Restart APP

./app restart

console output:

➜  app-darwin-amd64 ./app restart
restart command send, system will reboot...

Commands Reference

./app service install                         # install node
./app service start                           # start node
./app service stop                            # stop node
./app service remove                          # remove node
./app status                                  # check node running status
./app restart                                 # restart node
./app upgrade                                 # upgrade node
./app log                                     # check logs
./app -h                                      # check help

Terminal Rsecording

Last Updated: