Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

SUGOS example project to invoke `say` command on remote MAC (OSX system is required)

License

Notifications You must be signed in to change notification settings

realglobe-Inc/sugo-example-say

Repository files navigation

sugo-example-say

Build Status npm Version JS Standard

SUGOSSUGOS example project to invoke say command on remote MAC (OSX system is required)

favicon_url

This is an example application to use SUGOS. You can edit script and try it out on browser.

Requirements

Node.js NPM

Quick Start

Deploy to the Heroku and play it!

Deploy

How to

Setup Hub

Setup a hub server to provide UI pages and actor/connector API. This component is build with SUGO-Hub package.

Install the CLI:

$ npm install sugo-example-say -g

Then, run the server

$ PORT=3000 sugo-example-say hub

In the most of cases, you need to setup reverse-proxy (like nginx) to exports the server to the outer world.

Connect Actor

Connect an actor to provides functionalities with. This component is build with SUGO-Actor package.

Install the CLI:

$ npm install sugo-example-say -g

Then, connect the actor to the hub

$ HOSTNAME="__your_host__" ACTOR_KEY="__your_actor_name__" sugo-example-say actor

Run Caller

Run a caller to call functions defined in actor. This component is build with SUGO-Caller package.

Install the CLI:

$ npm install sugo-example-say -g

Then, run the example caller

$ HOSTNAME="__your_host__" sugo-example-say caller

Or, you can try it from UI pages on the hub.

License

This software is released under the MIT License.

Links

About

SUGOS example project to invoke `say` command on remote MAC (OSX system is required)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published