Skip to content
Browse files

Merge branch 'master' of github.com:nodejitsu/jitsu

  • Loading branch information...
2 parents cad14e8 + e2cdf20 commit 2db98c0ba490c234879faf1cfc13fd251672fea5 @Marak Marak committed Apr 9, 2011
Showing with 14 additions and 123 deletions.
  1. +13 −122 README.md
  2. +1 −1 lib/jitsu/utils/index.js
View
135 README.md
@@ -3,138 +3,29 @@ CLI tool for easily deploying node.js applications on the Nodejitsu platform
## INSTALLATION
- sudo npm install noc
-
-
+ sudo npm install jitsu
+
## OVERVIEW
- 1. Get an account.
- 2. Prepare your application for deployment OR pick an app from the <a href="#marketplace">marketplace</a>.
+ 1. Get an account [at Nodejitsu](http://nodejitsu.com).
+ 2. Prepare your application for deployment.
3. Boom! Deploy.
## USAGE
-After installation, simply run the "noc" command from your command line. If it's your first time using noc, you will be prompted to login with an existing account or create a new account.
+After installation, simply run the `jitsu` command from your command line. If it's your first time using `jitsu`, you will be prompted to login with an existing account or create a new account.
## COMMAND LINE OPTIONS
### Help
- noc
-
-*Just run the noc command without any arguments and it will display a help file.*
+ jitsu help
+ jitsu help apps
+ jitsu help snapshots
+ jitsu help users
+ jitsu help config
-## Users
+### Need more?
+The documentation for `jitsu` and the Nodejitsu APIs is open-source and a work in-progress. For more information checkout the [Nodejitsu Handbook](http://github.com/nodejitsu/handbook)
-### Inviting a new user
-
- noc user invite [email]
-
-*Sends invite code to user*
-
-### Creating a new user
-
- noc user create [username] [password] [email] [invite code]
-
-*Invite code is optional. If you don't provide a valid invite code, you will be provided one via email.*
-
-### Confirming an account
-
- noc user confirm [invite code]
-
-*Confirms a user account based on invite code*
-
-### Resetting an account's password
-
- noc user reset [username]
-
-*Sends a reset password email to username*
-
-### Managing SSH keys
-
- noc user keys [username]
-
-*Lists local path and location of all known .ssh keys for username*
-
-### Adding SSH keys
-
- noc user keys [username] -a /pathTo/id_rsa.pub
-
-*Adds ssh key to logged in user*
-
-### Removing SSH keys
-
- noc user keys [username] -r /pathTo/id_rsa.pub
-
-*Removes ssh key from logged in user*
-
-## Applications
-
-### Listing applications
-
- noc app ls|list
-
-*Lists all the user's current applications*
-
-### Starting / Stopping / Restarting applications
-
- noc app [appname] [start|stop|restart]
-
-
-## Deployment
-
-### Deploying a package.json from your local machine
-
- noc deploy /pathTo/myapp/
-
-*/pathTo/myapp/ must point to a folder which contains a valid package.json <a href="#prepare">Read More</a>*
-
-## Marketplace
-
-### Listing Marketplace applications
-
- noc market ls|list
-
-### Deploying applications from the Marketplace
-
- noc market buy [appname]
-
-*prompts user to specify a domain name / internal appname*
-
-
-## Misc
-
-### Logging out
- noc logout
-
-*Logs out the current user and clears any stored credentials.*
-
-
-## PREPARING YOUR APPLICATION FOR DEPLOYMENT
-<a name="prepare"/>
-### Building a valid package.json
-
-TODO: add docs
-
-## Specify your repository type
-
-TODO: add docs
-
-## Specify your starting script
-
-TODO: add docs
-
-## Ensure your npm dependencies are listed correctly
-
-TODO: add docs
-
-## Bundle any dependencies which are not available on npm
-
-TODO: add docs
-
-## THE MARKETPLACE
-
-The Nodejitsu Marketplace is an store where you can purchase node.js applications. We currently have several free applications and are always accepting new ones!
-
-
-TODO: add docs
+#### (C) Copyright 2010, Nodejitsu Inc.
View
2 lib/jitsu/utils/index.js
@@ -83,7 +83,7 @@ utils.createPackage = function (dir, callback) {
base = path.basename(dir),
tarball = path.join(jitsu.config.settings.tmproot, [jitsu.config.username, pkg.name, Date.now()].join('-') + '.tgz'),
target = fs.createWriteStream(tarball),
- tarargs = ['-cvf', '-', '--exclude', '.git', '-C', parent, base],
+ tarargs = ['-cvf', '-', '-C', parent, base],
tar, gzip, errState;
//

0 comments on commit 2db98c0

Please sign in to comment.
Something went wrong with that request. Please try again.