meteorserver icon indicating copy to clipboard operation
meteorserver copied to clipboard

add bower config

Open pourquoi opened this issue 10 years ago • 4 comments

then you need to run

bower register meteorserver git://github.com/visitsb/meteorserver

pourquoi avatar Jul 11 '14 11:07 pourquoi

sorry it's bower register meteorserver git://github.com/visitsb/meteorserver.git

pourquoi avatar Jul 11 '14 12:07 pourquoi

@pourquoi thanks for the bower.json config. meteorserver is not yet ready as a node module, but there is plenty of scope (and interest) to do so. Your bower integration is definitely going to help in making that first step.

If I understand correctly, bower will only get the meteor.js but none of the server-side modules yet. Those are still left as a separate install. Only using bower will not get meteorserver up, and running.

Am I correct?

visitsb avatar Jul 14 '14 05:07 visitsb

yes, it will only expose the content of public_html

this is usefull if you serve those files with nginx/apache instead of meteor

pourquoi avatar Jul 15 '14 09:07 pourquoi

@pourquoi thanks for clarifying.

meteorserver needs to obey same origin policy when serving javascript files out of public_html. That's mainly the reason why meteorserver channel can initiate push messages to callers without throwing browsers into security alert.

Having any other webserver today is not straightforward, unless some bridge is established to proxy meteorserver behind the scenes.

What I'll do is hold onto your bower.json, and work something towards enabling that as a single bower configuration that can work right out-of-the-box.

visitsb avatar Jul 16 '14 04:07 visitsb