-
Notifications
You must be signed in to change notification settings - Fork 2k
Initial Support For Deploying To Cloud Foundry #239
Conversation
Conflicts: config/env/all.js package.json
Thanks @ryanjbaxter Also, it would be great if someone can test this before we merge and make sure its tested to work well (I'm not using CF yet personally) |
Thanks for the suggestions @lirantal. I have separated the CF changes into its own config. I also made some changes to support the social login features. While doing this though I had a couple of questions/issues.
I also added instructions to the README about how to deploy to Cloud Foundry so others can try this out. |
Looks better, thanks. |
@ryanjbaxter this is awesome. I just ran through all of this with zero trouble. Your linkedin issue can be described here. I made that prescribed change and LinkedIn login works just fine. We should advertise all deployment alternatives from the homepage (Heroku, Azure, BlueMix, etc.) as well as getting those steps in the gh-pages branch for the main site. Otherwise, it looks great. |
I would think a GH wiki or better docs on the MEAN site would be the next step for MEAN to get more popular, because I feel like right now too many issues are being posted that are more questions than bugs or suggestions or things like that in the past couple weeks or so. |
@NeverOddOrEven thanks for pointing out the linkedin issue, sounds like a separate bug. I am happy to move the documentation out of the REAME and into GH pages. I mostly put it in the README so if anyone wanted to try this out they knew how. I can add the documentation to GH pages in a separate pull request once this pull request is merged. |
@@ -0,0 +1,49 @@ | |||
var cfenv = require('cfenv'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add
'use strict';
Noticed a few things tripped up jshint when running locally. Commented on the specific lines. |
Thanks @NeverOddOrEven, should be fixed now. Not sure why there is a merge conflict with the pull request, my fork should be up to date with this repo and I don't have any merge conflicts.... |
Any other comments on this? Can we get this merged? |
Conflicts: README.md
Still haven't heard anything, what do you guys think? @lirantal |
@ryanjbaxter, I think we should add this to the generator, as one of the optional deployment strategies, as part of the 0.4 branch. Until that happens - we probably shouldn't include all possible deployments master branch at this stage, but it's good to have this PR here - in case anyone wants to use it. wdyt? |
@roieki so is idea to remove heroku and docker support from the master branch and move it to the generator? I have no problem moving it to the generator but there was already support for docker and heroku in the master branch. |
Yeah, you're right, we should remove those as well. |
So how do I get started adding this to the generator? |
@ryanjbaxter take a look at https://github.com/meanjs/generator-meanjs structure, and it would probably make sense to add a separate folder for deployments. @NeverOddOrEven may be able to help bring this in. |
@ryanjbaxter @ilanbiala I will be addressing the deployment workflows with the generator. Once those are aligned, will likely merge this to 0.4 *docs |
Cool let me know if you need some help! On Wed, Jan 7, 2015 at 8:13 PM, Alex Suttmiller [email protected]
|
@NeverOddOrEven should we close this and continue any conversations in the generator repo? |
@ryanjbaxter this looks like a good PR addition, can you wrap it up for 0.4.0? @ilanbiala while @roieki voted for moving this to the generator as well as moving out any docker/other deployment method it doesn't seem likely that 0.4.0 generator will be updated anytime soon and it's ok to have it on master/0.4.0 code than nowhere else. WDYT? |
@lirantal Sounds good to me. |
@lirantal let me take a look at this again next week |
Great, thanks guys. |
Cloud Foundry is a popular open source platform-as-a-service. The MEANJS starter project is a great starting point for developers looking to get started with the MEAN stack. This pull request would make it easy to get the MEANJS app deployed to any Cloud Foundry PaaS. This pull request is for the code portion only, there also needs to be some documentation on how someone would deploy the MEANJS app to Cloud Foundry.