Skip to content

Instantly share code, notes, and snippets.

@gr2m
Created March 1, 2013 10:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gr2m/baa3cbeb39e2dc464707 to your computer and use it in GitHub Desktop.
Save gr2m/baa3cbeb39e2dc464707 to your computer and use it in GitHub Desktop.
$ jitsu database create couch appname
info: Welcome to Nodejitsu username
info: jitsu v0.12.1, node v0.8.18
info: It worked if it ends with Nodejitsu ok
info: Executing command databases create couch appname
debug: { method: 'POST',
debug: uri: 'http://api.nodejitsu.com/databases/username/appname',
debug: headers:
debug: { Authorization: '*****************************',
debug: 'Content-Type': 'application/json' },
debug: timeout: 240000,
debug: body: '{"type":"couch"}' }
debug: { statusCode: 200, result: 'ENOTFOUND' }
info: A new couch has been created
debug: { method: 'GET',
debug: uri: 'http://api.nodejitsu.com/databases/username/appname',
debug: headers:
debug: { Authorization: '*****************************',
debug: 'Content-Type': 'application/json' },
debug: timeout: 240000 }
debug: { statusCode: 404,
debug: result:
debug: { error:
debug: { error: 'not_found',
debug: reason: 'missing',
debug: status: 404 } } }
error: Database does not exist
info: Nodejitsu ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment