This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nfo: Starting app doableapi | |
error: Error running command deploy | |
error: socket hang up | |
help: For help with this error contact Nodejitsu Support: | |
help: webchat: <http://webchat.nodejitsu.com/> | |
help: irc: <irc://chat.freenode.net/#nodejitsu> | |
help: email: <support@nodejitsu.com> | |
help: | |
help: Copy and paste this output to a gist (http://gist.github.com/) | |
info: Nodejitsu not ok |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
info: Creating snapshot 0.0.4-10 | |
error: Error running command deploy | |
error: Nodejitsu Error (500): Internal Server Error | |
error: npm http GET http://nj-npm.irisnpm.com/express | |
npm http GET http://nj-npm.irisnpm.com/mongodb/1.1.7 | |
npm http GET http://nj-npm.irisnpm.com/mongoose/3.2.1 | |
npm http GET http://nj-npm.irisnpm.com/mongoose-types | |
npm http GET http://nj-npm.irisnpm.com/underscore | |
npm http GET http://nj-npm.irisnpm.com/node-uuid | |
npm http GET http://nj-npm.irisnpm.com/connect-mongo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "doableapi", | |
"version": "0.0.4-23", | |
"private": true, | |
"dependencies": { | |
"express": "3.0.x", | |
"mongodb": "1.1.7", | |
"mongoose": "3.2.1", | |
"mongoose-types": "1.0.x", | |
"underscore": "1.4.x", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ jitsu deploy --debug | |
info: Welcome to Nodejitsu doable | |
info: jitsu v0.9.8 | |
info: It worked if it ends with Nodejitsu ok | |
info: Executing command deploy | |
info: Analyzing application dependencies in appjitsu.js | |
debug: { method: 'GET', | |
debug: uri: 'https://api.nodejitsu.com/apps/doable/doableapi', | |
debug: headers: | |
debug: { Authorization: 'Basic ZG9hYmxlOlRpdGU0c3M=', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
info: Creating snapshot 0.0.4-26 | |
info Uploading: [= ] 5% | |
info: Updating app doableapi | |
info: Activating snapshot 0.0.4-26 for doableapi | |
info: Starting app doableapi | |
error: Error running command deploy | |
error: Nodejitsu Error (500): Internal Server Error | |
error: | |
error: There was an error while attempting to start the app | |
error: Error spawning drone |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
info: Creating snapshot 0.0.4-32 | |
info Uploading: [= ] 5% | |
info: Updating app doableapi | |
info: Activating snapshot 0.0.4-32 for doableapi | |
info: Starting app doableapi | |
error: Error running command deploy | |
error: Nodejitsu Error (500): Internal Server Error | |
error: There was an error while attempting to deploy the app | |
error: | |
error: Rackspace Error (404): Item not found |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prompt: Is this ok?: (yes) | |
info: Creating snapshot 0.0.4-34 | |
info Uploading: [= ] 5% | |
info: Updating app doableapi | |
info: Activating snapshot 0.0.4-34 for doableapi | |
info: Starting app doableapi | |
error: Error running command deploy | |
error: Nodejitsu Error (500): Internal Server Error | |
error: There was an error while attempting to deploy the app | |
error: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var mongoose = require('mongoose'), | |
_ = require('underscore'); | |
mongoose.connect('mongodb://localhost/test'); | |
mongoose.set('debug', true); | |
var docSchema = new mongoose.Schema({ | |
title: String, | |
meta: { | |
enabled: Boolean, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var http = require('http'), | |
express = require('express'), | |
app = express(); | |
app.get('/', function(req, res){ | |
console.log('request'); | |
res.send('hello world'); | |
}); | |
var server = http.createServer(app); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var http = require('http'); | |
var agent = new http.Agent(); | |
var makeRequestOne = function(){ | |
var req = http.request({ | |
hostname: 'persistenttest.jit.su', | |
agent: agent | |
}, function(res){ | |
res.on('data', function(chunk){ |