No description, website, or topics provided.
JavaScript CSS HTML PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
src
LICENSE
README.md
make.js
webserver.js

README.md

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