Skip to content

Instantly share code, notes, and snippets.

@Marak
Created June 14, 2011 23:20
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 Marak/44f535a61651eafe1c35 to your computer and use it in GitHub Desktop.
Save Marak/44f535a61651eafe1c35 to your computer and use it in GitHub Desktop.
Marak-Squiress-MacBook-Pro:testapp5 maraksquires$ touch server.js
Marak-Squiress-MacBook-Pro:testapp5 maraksquires$ mate .
Marak-Squiress-MacBook-Pro:testapp5 maraksquires$ jitsu deploy
info: Welcome to Nodejitsu
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Authenticated as marak
warn: There in no valid package.json file in /Users/maraksquires/dev/test/testapp5
warn: Creating package.json at /Users/maraksquires/dev/test/testapp5/package.json
help:
help: A package.json stores meta-data about your application
help: In order to continue we'll need to gather some information about your app
help:
help: Press ^C at any time to quit.
help: to select a default value, press ENTER
prompt: App name (testapp5):
help:
help: The subdomain is where your application will reside.
help: Your application will then become accessible at: http://yourdomain.nodejitsu.com
help:
prompt: subdomain (testapp5):
prompt: scripts.start (server.js):
prompt: version (0.0.0):
info: Analyzing your application dependencies in server.js
warn: About to write /Users/maraksquires/dev/test/testapp5/package.json
data:
data: {
data: name: 'testapp5',
data: scripts: { start: 'server.js' },
data: subdomain: 'testapp5',
data: version: '0.0.0'
data: }
data:
prompt: Is this ok? (yes):
warn: No application exists for testapp5
info: Analyzing your application dependencies in server.js
info: Checking app availability testapp5
info: Creating app testapp5
warn: Creating new snapshot for version 0.0.0
info: Done creating snapshot 0.0.0
info: Updating application testapp5
info: Activating snapshot 0.0.0 for testapp5
info: Stopping app testapp5
info: App testapp5 is now stopped
info: Starting app testapp5
help:
help: Usage:
help:
help: Deploys an application using the following steps:
help:
help: 1. Creates the application (if necessary)
help: 2. Creates or validates the package.json
help: 3. Packages and creates a new snapshot
help: 4. Stops the application (if neccessary)
help: 5. Starts the application
help:
help: jitsu deploy
help: jitsu apps deploy
help:
error: Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
warn: Error returned from Nodejitsu
error: Error: ECONNREFUSED, Connection refused
error: at Socket._onConnect (net.js:601:18)
error: at IOWatcher.onWritable [as callback] (net.js:186:12)
info: Nodejitsu not ok
Marak-Squiress-MacBook-Pro:testapp5 maraksquires$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment