Skip to content

A simple file watcher app that uploads your changed files to your NetSuite file cabinet. Built with Node.js.

Notifications You must be signed in to change notification settings

brycehill/ns-upload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ns-upload

A simple node file watcher to upload changed files to your NetSuite file cabinet. It does rely on a RESTlet that updates a file using the nlapiCreateFile suitescript function.

Install

npm install -g ns-upload

Configure

Create a ns-upload.json file in the root of your project. That file will need the following:

{
    "url": "",
    "nsRootPath": "",
    "watched": "",
    "auth": {
        "email": "",
        "pass": "",
        "account": "",
        "role": ""
    }
}

url

URL to a updateFile RESTlet in your NS instance. Someday, maybe we'll use SOAP, but for now this. Never.

nsRootPath

Path to the directory within the file cabinet that your project lives.

watched

File patterns to be matched.

auth

An object containing your Netsuite authentication credentials (email, pass, account, role).

Run

Just run the command ns-upload while deving to watch your files.

About

A simple file watcher app that uploads your changed files to your NetSuite file cabinet. Built with Node.js.

Resources

Stars

Watchers

Forks

Packages

No packages published