/static-builder

Primary LanguageJavaScriptGNU General Public License v2.0GPL-2.0

base.network static builder

http://base.network

Install

# download builder sources
git clone https://github.com/basenetwork/static-builder

# download javascript client libraries
git clone https://github.com/basenetwork/client-js
git clone https://github.com/basenetwork/site-engine-js

Usage

From command line

# make static file
node static-builder/make.js ../site-engine-js/app-std/main.js > build.js

As web server

# start web-server
node static-builder/webserver.js [<port>] [<host>]

For example

# start local web-server
node static-builder/webserver.js 8080 &

Get builds

# get build of client lib
curl http://localhost:8080/client.js

# get build of site application engine
curl http://localhost:8080/engine.js

# get build of site core engine
curl http://localhost:8080/core.js