/localneo

Run your SAP-WebIDE based applications locally using the neo-app.json as a web server config.

Primary LanguageJavaScript

localneo

Run your SAP-WebIDE based applications locally using the neo-app.json as a web server config.

install

$ npm install --global koemaeda/localneo

configuration

A destinations.json file can be used to map applications and destinations to targets.

{
  "server": {
    "port": "12345",
    "hostname": "localhost",
    "secure": false,
    "open": true
  },
  "service": {
    "sapui5": {
      "useSAPUI5": true,
      "version": "1.48.5"
    }
  },
  "applications": { 
    "mylib": {
      "path": "../mylib"
    },
    "images": {
       "path": "/var/www/images"
    }
  },

  "destinations": {
    "SAP_BACKEND": {
      "url": "https://our_secret_sap_system.com",
      "auth": "MYUSER:MyPassword",
      "headers": {
        "sap-client": "123"
      }
    }
  }
}

usage

$ cd my/cool/neo/project
$ localneo

localneo will start a webserver on port 12345. Open you browser on https://localhost:4567 to get started.