Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prompt for engine #182

Merged
merged 2 commits into from
Feb 28, 2012
Merged

Prompt for engine #182

merged 2 commits into from
Feb 28, 2012

Conversation

jfhbrook
Copy link
Contributor

This PR makes jitsu require an "engines" field and prompt for it:

For example, here's what happens when you try to deploy jitsu:

% jitsu deploy
info:   Welcome to Nodejitsu
info:   It worked if it ends with Nodejitsu ok
info:   Executing command deploy
warn:   
warn:   Your package.json file is missing required fields:
warn:   
warn:     subdomain,   scripts.start,   engines
warn:   
warn:   Prompting user for required fields.
warn:   Press ^C at any time to quit.
warn:   
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 (jitsu): testsubdomain
prompt: scripts.start: ./bin/jitsu
prompt: engines (v0.6.x): 

The engines default is based on your installed version of node.

@AvianFlu AvianFlu merged commit cdfc430 into master Feb 28, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants