worx / README.md


Worx is a development helper for working with Blackberry 10 Webworks. Normally when developing with Webworks you are encouraged to either use the Momentics IDE or Ripple to construct application packages and install then onto a device. While either approach is satisfactory, I really would prefer to work with a command-line process. The good news is that the Webworks SDK does come with some excellent command-line tooling, but it gets annoying trying to remember all the required commands. This is where worx can help you out :)

Getting Started

The first thing to do is install worx, which does require that you have node and npm installed:

npm install -g worx

Once you have done this, you should be able to type worx --version and get at least some output. Now, it's configuration time.

Let's start by telling worx where you have installed the Webwork SDK. I'm living life on the edge at the moment, so I'm using the BB10-Webworks-Packager that the Blackberry team publish on Github:

worx config-set ~/code/github/BB10-Webworks-Packager

If you have installed by another means (then just look for the directory that contains the bbwp or bbwp.bat files) and supply that path.

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.