-
Notifications
You must be signed in to change notification settings - Fork 75
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
prod and build scripts question #47
Comments
Sure, so it depends on how you're deploying your app. The webpack part works with any of your current deployments. If I can get some time soon I want to write a step by step guide for doing this but here's a rough start.... For Meteor deploy:
For Modulus it's the same as above but you just use the For MUP installs it will be the same as above roughly but I think you need to configure the mup folder to point to However it sounds like you're doing an in house deployment so you would basically deploy like normal but you would do the However if you need to deploy the tarball (same as
This is completely dependent on your deploy setup. It is seamless if you're using modulus. However if you're deploying your own server you need to use forever and other stuff to get it to do that. I would recommend MUP (or MUP X for docker) if you do deploy on your own hardware.... takes a lot of work out of hot-deploys. Does this help? If I now your exact deploy target/setup that would help clarify things also. 🍻 |
Huh, I didn't realize people would want to deploy with stuff they got from |
@jedwards1211 sounds good! On the copied script I think all we need to do is take off I've used the Actually i'm wondering how many people are deploying the tarball that is produced? Perhaps Are you able to just deploy the tarball onto EC2 or Digital Ocean? Or do you need to open it up and tweak things? I halfway remember that |
@jedwards1211 Well it could just be that I misunderstood the intent of |
@rralian right, I can add a note about that. Ironically I've always been a front-end person too :) |
@AdamBrodzinski actually I haven't ever deployed a Meteor app to a real-life production server yet...I definitely don't test my apps in production 😄 Feel free to add whatever support you want for that. Also I'm trying to decide how I want to deal with releases so that if we accidentally break anything on |
@jedwards1211 yea I was thinking about releases too... I'm going to try and pull in changes from my local repo...i'm always bad at cherrypicking in git. i'll tell you how it goes 😆 I imagine keeping a change-log.md file will be most helpful. We could also have a Yea deploying without one of those handy CLI tools is a PITA because you also have to setup forever and things like that. I looked into a bit further and the default meteor build doesn't setup the package.json deps correctly. I've always used this: http://blog.modulus.io/demeteorizer I'll try and make a PR later that makes a deploy script using the different services. |
Yeah cherry-picking can be a bit tough. Plus I don't know if there's any way to try to merge in changes from a repo without forking it. Do you know if most projects use a devel branch, or just keep the bleeding edge on master? |
Guys, so what's the state now on how to deploy the project. I know it's a fast paced thing, but how about a small guide that would explain it? @AdamBrodzinski's PR didn't make it to master. And I would love to know how to do mup or mupx. Ill play with what is in Adams PR with no meteor minification and see. But a guide would help. Thanks |
@tomitrescak It's merged 😃 The easiest deploy is With mup you can run I wish I had time to write a guide but i'm short on time and burnt out... maybe soon 😄 |
Yeah @tomitrescak I had to custom merge @AdamBrodzinski's PR, and now I converted it to shelljs, but it's in master 😄 |
First off, I really dig this project, thanks for doing it!I love meteor, webpack, and react. My biggest issue with meteor was the way everything is shared as a global. So I was excited to see this project!
I could use a little more direction about the prod and build scripts. So I have a project based on this skeleton. I've asked one of our sysadmins to install this on a server and have it rebuild whenever we merge to master. And I said this can be built simply with
npm install && ./prod
.Then he noticed the
./build
script and asked about that. And now I'm not exactly sure how this should be run in production. If the app is normally run with./prod
in production, then why do we need a separate./build
script? I'm misunderstanding one of these. Could I get a little hand-holding?Also, is it possible to update the app in production without downtime? Anything special we need to know to do so?
The text was updated successfully, but these errors were encountered: