01 2 / 2011
Nodester’s New Command Line Interface (CLI)
Thanks to @DanBUK, Nodester has a new Command Line Interface (CLI) that makes it easier to use than cURLs! Installing it is simple:
npm install nodester-cli
Once installed, here are the commands available:
nodester <command> <param1> <param2>
nodester coupon <email address>
nodester user create <username> <password> <email address> <file containing ssh public key> <coupon code>
nodester user setup <username> <password>
The commands below require you to have run ‘user setup’ before/
nodester user setpass <new password>
You should run user setup after running setpass.
nodester user setkey <file containing ssh public key>
nodester apps list
nodester app create <app-name> <initial js file>
nodester app info <app-name>
nodester app start <app-name>
nodester app restart <app-name>
nodester app stop <app-name>
nodester appnpm install <app-name> <package name>
nodester appnpm upgrade <app-name> <package name>
nodester appnpm uninstall <app-name> <package name>
Here is how you would install a new Node.JS app on Nodester using the CLI:nodester app create myapp hello.js
git remote add nodester the_url_returned_by_our_api and git push nodester master
NPM modules? nodester appnpm install express
nodester app start myapp
Let us know what you think! Help us by contributing to our project located at http://github.com/nodester!
Permalink 10 notes