Ionic2CLI-Meteor-WhatsApp icon indicating copy to clipboard operation
Ionic2CLI-Meteor-WhatsApp copied to clipboard

How do I deploy this to serve?

Open panharithleang opened this issue 6 years ago • 9 comments

I want to Deploy this project to a server. However, when I use mup js to Deploy this I get

    /bundle/bundle/programs/server/mini-files.js:82
    const unicodeNormalizePath = (path) => {
                                         ^
    SyntaxError: Unexpected token >
        at Module._compile (module.js:439:25)
        at Object.Module._extensions..js (module.js:474:10)
        at Module.load (module.js:356:32)
        at Function.Module._load (module.js:312:12)
        at Module.require (module.js:364:17)
        at require (module.js:380:17)
        at Object.<anonymous> (/bundle/bundle/programs/server/boot.js:9:13)
        at Module._compile (module.js:456:26)
        at Object.Module._extensions..js (module.js:474:10)
        at Module.load (module.js:356:32)
     
    => Redeploying previous version of the app
     

panharithleang avatar Oct 11 '17 08:10 panharithleang

Hello, i've been studying this tutorial for the last days and today i stopped with this same problem. I'll leave a comment here and watch for new messages

marquesgabriel avatar Nov 07 '17 11:11 marquesgabriel

You can deploy the server (everything under the api directory) like any normal Meteor application, while you can deploy the client like any other Angular application. The next version of the tutorial will include a chapter about deploying.

darkbasic avatar Nov 07 '17 12:11 darkbasic

+1 for the tutorial. I tried to deploy as well but got so many errors.

jayserdny avatar Nov 07 '17 22:11 jayserdny

I finally be able to deploy this. Just use mup to deploy the api folder normally as a meteor project.

panharithleang avatar Nov 08 '17 06:11 panharithleang

@panharithleang Just wondering, where did you deploy it? I want to deploy mine to Heroku and I don't really know if I can using meteor up

jayserdny avatar Nov 08 '17 06:11 jayserdny

@jayserdny I deployed it to a hosting server at digital ocean.

panharithleang avatar Nov 08 '17 06:11 panharithleang

There is another repo, that creates the app using Meteor CLI, not Ionic's. Then you could deploy using mup https://github.com/Urigo/Ionic2-MeteorCLI-WhatsApp/

marquesgabriel avatar Nov 09 '17 19:11 marquesgabriel

I've used mup - with success

airstep avatar Feb 08 '18 08:02 airstep

Can someone link a guide or give at least basic steps to:

  1. Package as android app ( I'm guessing an ionic/cordova cmd/config? android noob here )
  2. Deploy to a server ( it looks like mup from /api dir is what people are suggesting)

Thanks, sorry if something here is obvious, I am new to webapps -> phone app

jjh-vi avatar Feb 27 '18 03:02 jjh-vi