Skip to content
Newer
Older
100644 67 lines (37 sloc) 1.83 KB
a6bdd9b @alejandro [dist] New Readme
alejandro authored Jun 26, 2012
1 # Nodester API CLI access [![Build Status](https://secure.travis-ci.org/alejandromg/nodester-cli.png)](http://travis-ci.org/nodester/nodester-cli)
2
5d14f7f @davglass Added README and extension example
davglass authored Feb 20, 2011
3 This app is a little wrapper around the REST API for the [Nodester](http://nodester.com/) OS Node hosting platform.
4
5 ## Installation
6
c04d784 @davglass Updated package.json file for npm 1.0 and added note to the README
davglass authored May 2, 2011
7 npm install nodester-cli -g
5d14f7f @davglass Added README and extension example
davglass authored Feb 20, 2011
8
a6bdd9b @alejandro [dist] New Readme
alejandro authored Jun 27, 2012
9
5d14f7f @davglass Added README and extension example
davglass authored Feb 20, 2011
10 ## Usage
11
a6bdd9b @alejandro [dist] New Readme
alejandro authored Jun 27, 2012
12 In your CLI run one of these commands:
5d14f7f @davglass Added README and extension example
davglass authored Feb 20, 2011
13
a6bdd9b @alejandro [dist] New Readme
alejandro authored Jun 27, 2012
14 $ nodester
15 $ nodester app <usage>
16 $ nodester user <usage>
17
18 Each of them will outpot the help for the respective command.
5d14f7f @davglass Added README and extension example
davglass authored Feb 20, 2011
19
20
21 ## Local installation
22
f7cd68f @alejandro [dist] updated readme
alejandro authored Jun 29, 2012
23 If you have your own instance of [Nodester](http://nodester.com/) installed on your own server, the command line app is designed to work with that too. Currently it supports 3 environment variables to change a couple of default settings.
5d14f7f @davglass Added README and extension example
davglass authored Feb 20, 2011
24
25 Here is a simple example:
26
27 #!/bin/bash
28
29 export NODESTER_BRAND=davster;
30 export NODESTER_APIHOST=auth.davglass.com;
31 nodester "$@"
32 export NODESTER_BRAND=;
33 export NODESTER_APIHOST=;
34
f7cd68f @alejandro [dist] updated readme
alejandro authored Jun 30, 2012
35 **In the newest version of `nodester-cli`** you can easily switch betwen instances running:
36
37 $ nodester config set <apiendpoint> <brand>
38
39 after this you can access to your instance. To rollback to the nodester endpoint run:
40
41 $ nodester config set api.nodester.com nodester
42
43 Also you can see what is the current configuration running:
44
45 $ nodester config get
46
47
48 Also you can take a look at `examples` and see how can you roll out your personal nodester-cli
a6bdd9b @alejandro [dist] New Readme
alejandro authored Jun 27, 2012
49
50
51 ## Contributors
52
53 The nodester community (`nodester authors`):
54
45b7257 @chrismatthieu updated default nodejs to 0.6.17
chrismatthieu authored Jun 29, 2012
55 - [Chris Matthieu](http://matthieu.us)
a6bdd9b @alejandro [dist] New Readme
alejandro authored Jun 27, 2012
56 - [Daniel Bartlett <dan@f-box.org>](http://danb-uk.net/)
57 - [Dav Glass <davglass@gmail.com>](http://twitter/@davglass)
58 - Abraham Williams <4braham@gmail.com>
59 - Contra <contra@australia.edu>
60 - Marcos Oliveira <marcosvm@gmail.com>
61 - [Alejandro Morales](http://alejandromorales.co.cc)
62
63 ## License
64
65 MIT 2012 - Nodester
66
Something went wrong with that request. Please try again.