Skip to content

Latest commit

 

History

History
executable file
·
28 lines (18 loc) · 567 Bytes

README.md

File metadata and controls

executable file
·
28 lines (18 loc) · 567 Bytes

ejs

Server and Client for EJS integration.

Installation

  • Install node.js http://nodejs.org/.

  • Build node packages:

      npm install
    
  • Create a config.json file in the app root:

      {
        "serialPort" : "/dev/cu.usbserial", //Path to serial port
        "domain" : "ejs.app", //URL of client site
        "port" : 80 //Port of client site
      }
    
  • Connect usb-to-serial adapter

  • Run server app:

       sudo node main.js
    
  • Browse to http://ejs.app:80 (or the domain you specified)