Shea
Shea is a simple tool for building and deploying UIs for Lotion applications.
Installation
Shea requires node v7.6.0 or higher.
$ npm install shea
Usage
- Write up some html to use as your Lotion app's client.
public/client.html
:
my cool app hello decentralized world
- Attach it to a Lotion app.
app.js
:
let lotion = let shea = let app = app app
-
Run
node app.js
. -
Now clients, on any computer in the world, can run this to connect to your blockchain and open
client.html
in their browser:
$ npm i -g shea$ shea <GCI>
That's it!
License
MIT