spine / spine.app

Spine App generator
109 stars 26 forks source link

spine app <appname> doesn't create app/models and app/controllers dirs #2

Closed alduro closed 13 years ago

alduro commented 13 years ago

spine app doesn't create app/models and app/controllers dirs

maccman commented 13 years ago

Does for me, what OS/Node version are you using?

$ spine app ga

./app ./app/app.coffee ./app/controllers ./app/models ./app/views ./index.js ./lib ./lib/jquery.js ./lib/jquery.tmpl.js ./lib/json2.js ./lib/shim.js ./lib/spine.ajax.js ./lib/spine.js ./lib/spine.list.js ./lib/spine.local.js ./lib/spine.manager.js ./lib/spine.route.js ./lib/spine.route.shim.js ./lib/spine.tabs.js ./lib/spine.tmpl.js ./lib/spine.touch.js ./package.json ./Procfile ./public ./public/css ./public/css/application.less ./public/css/utils.less ./public/favicon.ico ./public/images ./public/index.html

On Tue, Jun 7, 2011 at 6:05 PM, alduro < reply@reply.github.com>wrote:

spine app doesn't create app/models and app/controllers dirs

Reply to this email directly or view it on GitHub: https://github.com/maccman/spine.app/issues/2

Alex MacCaw

+12147175129 @maccman

http://alexmaccaw.co.uk | http://www.leadthinking.com | http://socialmod.com

alduro commented 13 years ago

aldo@macbook ~/Satio/Desarrollo/express/spine-apps > node -v v0.4.8 Mac OS 10.6.7

when you run the command it doesn't show the list of dirs created.

maccman commented 13 years ago

Did you build it yourself from the git repo? I've just noticed that the controllers/views/models needed a .gitkeep to stop the folders disappearing. This shouldn't affect the npm package though.

Alex

On Tue, Jun 7, 2011 at 7:33 PM, alduro < reply@reply.github.com>wrote:

aldo@macbook ~/Satio/Desarrollo/express/spine-apps > node -v v0.4.8 Mac OS 10.6.7

Reply to this email directly or view it on GitHub: https://github.com/maccman/spine.app/issues/2#comment_1324125

Alex MacCaw

+12147175129 @maccman

http://alexmaccaw.co.uk | http://www.leadthinking.com | http://socialmod.com

alduro commented 13 years ago

mmm, I installed spine.app using "npm install spine.app -g" it is not well documented. I've tried npm install spine but it install spine itself not spine.app so should I do git clone from github ? where should I install it ? under $NODE_PATH node_modules ?

alduro commented 13 years ago

by the way, Spine is awesome. Tutorials are clear and helpful and that's why I switched from Backbone to Spine. Even the use of spine with Node is easier. I have tried Bones but it was imposible to learn. Thanks for an incredible job.

maccman commented 13 years ago

Thanks! Glad it's useful. Yes, fixed those install instructions, spine.app used to be a dependency of spine.

Yes, try doing a git pull, then do npm install .

Let me know how you get on.

On Tue, Jun 7, 2011 at 7:54 PM, alduro < reply@reply.github.com>wrote:

by the way, Spine is awesome. Tutorials are clear and helpful and that's why I switched from Backbone to Spine. Even the use of spine with Node is easier. I have tried Bones but it was imposible to learn. Thanks for an incredible job.

Reply to this email directly or view it on GitHub: https://github.com/maccman/spine.app/issues/2#comment_1324183

Alex MacCaw

+12147175129 @maccman

http://alexmaccaw.co.uk | http://www.leadthinking.com | http://socialmod.com

alduro commented 13 years ago

ok, now directories views, controllers and models were created under app/ but folders list still disappear when created.

alduro commented 13 years ago

just in case you need it. After app creation I have added a controller and model user. aldo@macbook ~/Satio/Desarrollo/express/spine-apps/satio > find . -name "." -print . ./app/app.coffee ./app/controllers/.gitkeep ./app/controllers/users.coffee ./app/models/.gitkeep ./app/models/user.coffee ./app/views/.gitkeep ./index.js ./lib/jquery.js ./lib/jquery.tmpl.js ./lib/json2.js ./lib/shim.js ./lib/spine.ajax.js ./lib/spine.js ./lib/spine.list.js ./lib/spine.local.js ./lib/spine.manager.js ./lib/spine.route.js ./lib/spine.route.shim.js ./lib/spine.tabs.js ./lib/spine.tmpl.js ./lib/spine.touch.js ./package.json ./public/css/application.less ./public/css/utils.less ./public/favicon.ico ./public/index.html

maccman commented 13 years ago

Sorry, which folders are missing from this list?

On Wed, Jun 8, 2011 at 4:10 AM, alduro < reply@reply.github.com>wrote:

just in case you need it. After app creation I have added a controller and model user. aldo@macbook ~/Satio/Desarrollo/express/spine-apps/satio > find . -name "." -print . ./app/app.coffee ./app/controllers/.gitkeep ./app/controllers/users.coffee ./app/models/.gitkeep ./app/models/user.coffee ./app/views/.gitkeep ./index.js ./lib/jquery.js ./lib/jquery.tmpl.js ./lib/json2.js ./lib/shim.js ./lib/spine.ajax.js ./lib/spine.js ./lib/spine.list.js ./lib/spine.local.js ./lib/spine.manager.js ./lib/spine.route.js ./lib/spine.route.shim.js ./lib/spine.tabs.js ./lib/spine.tmpl.js ./lib/spine.touch.js ./package.json ./public/css/application.less ./public/css/utils.less ./public/favicon.ico ./public/index.html

Reply to this email directly or view it on GitHub: https://github.com/maccman/spine.app/issues/2#comment_1325926

Alex MacCaw

+12147175129 @maccman

http://alexmaccaw.co.uk | http://www.leadthinking.com | http://socialmod.com

alduro commented 13 years ago

Hi Alex, sorry, it worked well after I did a git clone from repo and run npm install . List of directories is just to confirm that. Thanks for your support !