I see documentation here http://flatironjs.org/ to create a app skeleton. The command specified is,
flatiron create <type> <app-name>
But I do not see any values for the “type”. I tried http and it did not work. Any inputs appreciated.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I think that the documentation may be slightly out of sync with the current code. For now as far as I can tell the correct command line command is:
This creates a cli skeleton app and for a web app you will have to make some changes to your app.js file along the lines of the http-sample.js file which you can find at:
https://github.com/flatiron/flatiron/tree/master/examples
You will also need to add union to your package dependencies.