-
Notifications
You must be signed in to change notification settings - Fork 2k
Deploy To XXX button #1852
Comments
I don't think nobody has anything against such buttons but it really boils down to maintaining them actively. Bluemix got removed here; #1476 If nobody from the core team is using those services, it's hard to follow their changes and no deploy button is better than broken deploy button. @Ghalleb I'd say go for it if you really can commit to long term support for such feature; follow their blogs/changelogs and update changes to here within reasonable timeframe. |
@simison |
Nothing against it if we can maintain it. |
I did the deploy to Heroku button. I had to trick a little bit the script because some dependencies needed to deploy in prod are in the devDependencies only when Heroku install only prod dependencies. I will take a look at the Google Cloud Platform soon. Have a good day. |
I added a config var: "NPM_CONFIG_PRODUCTION": "false" so the npm install will install all dependencies instead of production ones.... |
@Ghalleb I think it's better to move those dependencies to right place. Wanna PR since you're at it? :-) |
I think it's really not that simple. It was my first idea in fact. So I started to move |
These should be required by prod (prod can be run via gulp task). Karma etc surely shouldn't be there but I don't see how Gulpfile would required it for prod task? Are you sure prod build failed on missing Karma? |
Easy to test: |
Then |
Gotcha. I think I got this fixed locally, I'll PR. |
I will... |
I tested, it seems ok. |
I just discovered that you can't write file to heroku... |
Done in #1857 |
Hi,
Are you planning to put back the "one click deployment" button like there was in 0.4.X version? It was for Bluemix and there was a tutorial for Pivotal Web Service (https://github.com/meanjs/mean/blob/0.4.x/manifest.yml).
I know it was because Cloud Foundry was evolving too fast. But some platform are now more stable.
It could be a "deploy to heroku" button (https://devcenter.heroku.com/articles/heroku-button) which is simple or perhaps we could use Google Cloud Launcher (https://cloud.google.com/launcher/docs/).
If you didn't plan it but still want it, I can manage to do it myself.
Have a good day.
The text was updated successfully, but these errors were encountered: