GithubHelp home page GithubHelp logo

Comments (3)

DAB0mB avatar DAB0mB commented on May 24, 2024

meteor uses it's own bundling system, so there might be conflicts with the two, I can't really tell if it will work with mupX properly. In general, before deploying any server you should bundle your modules beforehand, so the client can receive the bundled version of your app.

from ioniccli-meteor-whatsapp.

mixersoft avatar mixersoft commented on May 24, 2024

I tried to run the demo from the github repo and got an error on gulp (see the issue I opened). However, I wanted to see if the Meteor server code is run from from the same http server as the client App, i.e. ionic serve -> http://localhost:8100

Right now, I have an angular-meter + ionic CLI deployment where I put meteor in the /path/to/ionic/project/meteor folder. I'm serving Meteor from a different server using the following:

cd /path/to/ionic/project/meteor
meteor run --port 3333 --settings ./settings.json & 

It works, but I have to do a lot of crazy stuff to get the meteor-client-side code to work from ionic - especially since some of the packages, like accounts-facebook also expect the server-side code to run from the same ROOT_URL or have client-side dependencies on Meteor.settings.public

see: https://github.com/mixersoft/accounts-facebook-client-side/blob/master/README.md

However, with the Meteor server code neatly stored in a subfolder, it is easy to deploy via mupx - especially since I tried an rsync deploy of the Meteor server and it wouldn't work inside an ec2 micro instance. I don't know enough about mpux or the meteor bundling system to understand if this would still be the case when I have client and server side code mixed together via the webpack bundling system of the demo.

Would it make my life easier to convert the project build to webpack? Can I still deploy the whole thing to an ec2 micro instance?

from ioniccli-meteor-whatsapp.

DAB0mB avatar DAB0mB commented on May 24, 2024

@mixersoft I suggest you go to StackOverflow http://stackoverflow.com/questions/tagged/angular-meteor because this is not an issue it's just a genuine question which I don't know how to answer unfortunately.

from ioniccli-meteor-whatsapp.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.