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

grasshopper jump should create and index.js #8

Open
pajtai opened this issue Jul 28, 2014 · 5 comments
Open

grasshopper jump should create and index.js #8

pajtai opened this issue Jul 28, 2014 · 5 comments
Labels

Comments

@pajtai
Copy link
Contributor

pajtai commented Jul 28, 2014

Since I see gh api is a dependency in pkg.json, seems like there should be an index.js created.

here is the structure I got (deleted contents of node_modules and vendor before listing):

 » tree
.
├── app
│   └── public
│       └── admin
│           ├── index.html
│           ├── main.02bec0b2.js
│           ├── main.js.map
│           ├── themes
│           │   ├── img
│           │   │   ├── default-avatar.4360e4ea.png
│           │   │   ├── grasshopper_403.921f18b5.png
│           │   │   ├── loading-spinner-horizontal.42b015fb.gif
│           │   │   └── logo.9b7550f6.png
│           │   ├── main.3df05c53.css
│           │   ├── main.css.map
│           │   ├── select2-spinner.gif
│           │   └── select2.png
│           └── vendor
├── gha.json
├── ghapi.json
├── node_modules
├── package.json
└── tmp
@pajtai pajtai added the bug label Jul 28, 2014
@travism
Copy link
Contributor

travism commented Jul 28, 2014

So, fly is intended on being used in an existing project meaning you already have an app (and possibly an index file). So whatever is done here should be non-destructive. I would hesitate to dictate how someone starts up their express app. Seems like we should just point them int the right direction to integrate the grasshopper router into their existing app.

@pajtai
Copy link
Contributor Author

pajtai commented Jul 28, 2014

that might be true for fly, but this was after running jump

seems like jump is a situation where I have an empty directory, no project, and I just want a one click install for an app that's setup and ready to go.... since my dir starts empty, there's no worries about over writing anything

I'd just like at least the option for having gh create index.js for me, since the main reason I was trying it is for one click install... which I think is a great entry point for people who've never used it before

@travism
Copy link
Contributor

travism commented Jul 28, 2014

Peter, I think you are mistaking jump and fly. If you read the descriptions you will see that they are different. fly is a one click install and it works very nicely. Jump is a long interactive process that isn't a one click install at all.

@travism
Copy link
Contributor

travism commented Jul 28, 2014

If you want the full scaffolding features of fly but the interactive bits of jump maybe there should be an --interactive flag on fly

@pajtai
Copy link
Contributor Author

pajtai commented Jul 29, 2014

I think I was hesitant to try fly because I knew I had to enter my monglab creds, but at the same time I would like a complete project scaffolding... so, yeah maybe neither the exact right fit atm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants