0.0.2 • Published 11 years ago
swot v0.0.2
SWOT
This is a super brilliant tool for helping run and test ScraperWiki tools.
Installing
npm install -g swot
Or, if you are using npm (and node.js) to develop your tool, then add swot as a devDependency and it will appear in your node_modules/.bin directory.
Using it
For each tool you are testing you need to cd into the directory containing the git repo for your tool and then run:
swot setup <boxName>
(this saves some stuff in .swotconfig
)
<boxName>
will usually be the seven-character ID of a box created in your
ScraperWiki account using the "Code a blank dataset" tool.
Then you can get swot to watch your tool directory for changes and it will sync them with the remote box:
swot watch
Developers
If you are developing swot itself, we recommend that you install it with
npm link
so that the development version will be on your PATH.