-
Notifications
You must be signed in to change notification settings - Fork 25
Port from yeoman to lineman #21
Conversation
@searls I have this ported to lineman and everything is working wonderfully in development. I'm having an issue with deployment and I would love your thoughts. Since this app deals with a GitHub auth token, I want to force SSL in production. I moved some code I was using in yeoman over to I've also been thinking ahead to #1 and will probably need a very small server component to handle the OAuth dance. I know Lineman is predicated on a separation of frontend and backend (which I have enormous respect for). However, it feels odd to have to create a separate app just to handle client authentication. In this case, I would argue that OAuth is actually a concern of the client application and should be included in the same code base. Any thoughts or advice on handling this? |
There is a minor blind spot in the tools we have built so far. Given these three usages:
We handle 1 & 3 quite well, but don't have enough experience with 2. This may be an opportunity for us to make lineman better. I will say @theotherzach has done some work on an additional heroku build pack for apps with a ruby backend as well-- https://github.com/testdouble/heroku-buildpack-lineman-ruby On Sun, Nov 10, 2013 at 5:50 AM, Brandon Keepers notifications@github.com
|
Thought a little more about this on the plane last night and I'm still a little torn on the best approach. As it is, one of the most commonly requested features is "let me put my dev/stub express server into production", which is of course not a good idea, but indicates that there's an untapped need. Hmm. Also, in my email reply above, this got quoted away:
|
I tried solving the problem myself by providing my own I think it would be ideal if the buildpack supported both dev and runtime dependencies. Lineman should be listed in Thoughts? Related, I just went to look up
|
Are you feeling blocked on this? Not sure what I can best do to help On Mon, Nov 11, 2013 at 10:36 AM, Brandon Keepers
|
@searls a little, but certainly not by you. I'll look into modifying the buildpack. |
Given the ruby buildpack is designed for the typical heroku ruby deploys where our lineman one is designed for static sites and we would like to support more non-static deploy stories... It would be nice to extract the lineman build and file move steps out of individual forked buildpacks and into something that we could re-use. Here is what needs to happen at deploy:
https://github.com/testdouble/heroku-buildpack-lineman-ruby/blob/master/bin/compile I'm not thinking of many great ways to generalize this off the top of my head. We may just need to reinvent the wheel each time somebody gets interested in a new platform. |
Git submodules suck, but maybe the lineman components could be pulled out into a submodule? |
* origin/master: Add J/K to chose next/prev repository Conflicts: app/index.html
🎆 |
Yeoman was the easiest thing to get started with, but I've never really been a fan of it. It's just too bloated. This ports the app over to using lineman. As part of that, I also switched the CSS from sass+compass to stylus+nib.
/cc @searls
TODO