30 6 / 2012
Nodester CLI Reaches 1.0 Status!
We are happy to announce that the Nodester CLI (command line interface) has officially reached 1.0 status! At the time of this article, we are actually on v1.0.2 which now supports Node.JS version 0.8.1 by default!
Here is a list of the updates:
- nodester app delete -> nodester app destroy (Because delete is reserved word in js) Almost every delete action is now destroy.
- nodester app list: Alias to nodester apps (or viceverza)
- nodester authors: Show the contributors for this tool.
- Shorthands: e.g nodester app l maps to nodester app logs.
- Better help with headers and stuff.
- JSHint code lint (All code is valid js)
- Use of “use strict”
- Partial node-0.8.1
- Travis support
- Bump to 1.0.0.
- New “Hello World” app
- More useful nodester app init command. Now it let you to choose between hello world or autoudpate remote (default to nodester)
- Also no more “You need to restart your app” after npm installs
- New Api nodester client with this command you are now able to interact with your personal instance easily. Running just nodester client set <endpoint> <brand> will setup your instance. Really useful.

The new CLI also walks you through deploying your app from scratch or as an existing application. See below:
$ nodester app create 081
nodester info creating app: 081 server.js
nodester info successfully created app 081 to will run on port 19144 from server.js
nodester info run nodester app init 081 to setup this app.
nodester info ok!
$ nodester app init 081
nodester info What do you want to do:
(1) Setup a new app from scratch?
(2) You just want to setup your existent app?
note: if you choose 2 be sure that you are into your app’s dir
(1) 1
nodester info initializing git repo for 081 into folder 081
nodester warn this will take a second or two
nodester info cloning your new app in 081
nodester info clone complete
nodester info writing the default configuration
nodester info processing the initial commit
nodester info Nodester!
remote:
remote: _ _
remote: _ __ ___ __| | ___ ___| |_ ___ _ __
remote: | ‘_ \ / _ \ / _ |/ _ \ __| __/ _ \ ‘__|
remote: | | | | (_) | (_| | __\__ \ |_ __/ |
remote: |_| |_|\___/ \__,_|\___|___/\__\___|_|
remote:
remote: Open Source Node.js Hosting Platform
remote: http://github.com/nodester
remote:
remote:
remote: Syncing repo with chroot
remote: From /node/git/topher/10991-985dc656de547235fe586e3debb0ce6b
remote: * [new branch] master -> origin/master
remote: Attempting to restart your app: 10991-985dc656de547235fe586e3debb0ce6b
remote: {“status”:”restarted”}
remote: App restarted..
remote:
remote: \m/ Nodester out \m/
remote:
To git@nodester.com:/node/git/topher/10991-985dc656de547235fe586e3debb0ce6b.git
* [new branch] master -> master
nodester info 081 started.
nodester info Some helpful app commands:
cd ./081
curl http://081.nodester.com/
nodester app info
nodester app logs
nodester app stop|start|restart
nodester info ok!
Permalink 2 notes
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