0.0.7 • Published 5 years ago

liyad-webapp-example v0.0.7

Weekly downloads
42
License
ISC
Repository
github
Last release
5 years ago

liyad-webapp-example

Web app example for Liyad Lisp interpreter CLI.
Serve the http server and do server side rendering with React and LSX.
LSX is alternative notation of JSX using Lisp.

Install

$ npm install -g liyad-cli
$ git clone https://github.com/shellyln/liyad-webapp-example.git
$ cd liyad-webapp-example
$ npm ci

Run

$ liyad -p LSX_async --lsx-boot ./lsxboot.js app.lisp

Server will serve on port 3000.

Run with PM2

$ npm install -g pm2@latest
$ npm install liyad-cli
$ pm2 start cluster.js -i max

$ pm2 stop cluster
$ pm2 delete cluster