How To Run GaGa On MacOS
How to easily install a GaGaNode on MacOS.
Register
https://dashboard.gaganode.com/register
Click the button âInstall & Runâ and you can find out your token and installation tutorial in this page.
1.Download & Install
In the Terminal app on your Mac, do one of the following:
curl -o apphub-darwin-amd64.tar.gz https://assets.coreservice.io/public/package/58/app-market-gaga-pro/1.0.4/app-market-gaga-pro-1_0_4.tar.gz && tar -zxf apphub-darwin-amd64.tar.gz && rm -f apphub-darwin-amd64.tar.gz && cd ./apphub-darwin-amd64 && ./apphub service install
console output:
curl -o apphub-darwin-amd64.tar.gz https://assets.coreservice.io/public/package/58/app-market-gaga-pro/1.0.4/app-market-gaga-pro-1_0_4.tar.gz && tar -zxf apphub-darwin-amd64.tar.gz && rm -f apphub-darwin-amd64.tar.gz && cd ./apphub-darwin-amd64 && ./apphub 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
./apphub service start
console output:
â apphub-darwin-amd64 ./apphub service start
Starting app service: [ OK ]
3.Check APP Status
./apphub status
console output:
â apphub-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:
â apphub-darwin-amd64 ./apps/gaganode/gaganode config set --token=`your token`
new config generated
restart for the new configuration to take effect
5.Restart APP
./apphub restart
console output:
â apphub-darwin-amd64 ./apphub restart
restart command send, system will reboot...
Commands Reference
./apphub service install # install node
./apphub service start # start node
./apphub service stop # stop node
./apphub service remove # remove node
./apphub status # check node running status
./apphub restart # restart node
./apphub upgrade # upgrade node
./apphub log # check logs
./apphub -h # check help