arunoda / meteor-up-legacy

Production Quality Meteor Deployments
MIT License
2.26k stars 394 forks source link

Trying to use "--production" and "--release" tags #986

Open w3jimmy opened 8 years ago

w3jimmy commented 8 years ago

I've successfully deployed a meteor app, but I can't find out how to use the --production option when configuring Meteor-Up (mupx)

I'd like to add this option to have all the css and js files compiled in the client side.

I would also like to specify --release <release-name>, but hopefully both options will be possible in the same way.

I tried changing meteorBinary but wasn't successful. How can I achieve this?

w3jimmy commented 8 years ago

Ok, I got the minification working now... it was as simple this: in buildOptions debug must be false Is there a way to force the --release tag?

MasterJames commented 8 years ago

I think you have to change it temporarily locally with just meteor --release http://stackoverflow.com/questions/15867135/how-do-i-run-a-specific-release-of-meteor [that's an old link?] Oh wait that just runs locally the other release it doesn't downgrade it does it?

I guess you have to manually downgrade locally? http://stackoverflow.com/questions/15465018/can-i-undo-updating-meteor

It says to use --release with 'update' to downgrade. meteor update --release 1.2.1

Otherwise it might be possible (or a good idea for the suggestion box) over at kadirahq/meteor-up where the new version being ported.

https://github.com/meteor/meteor/releases