Skip to content
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

How do I deploy this to serve? #133

Open
panharithleang opened this issue Oct 11, 2017 · 9 comments
Open

How do I deploy this to serve? #133

panharithleang opened this issue Oct 11, 2017 · 9 comments

Comments

@panharithleang
Copy link

panharithleang commented Oct 11, 2017

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 panharithleang changed the title How do I deploy this to serve? with mup js? How do I deploy this to serve? Oct 11, 2017
@marquesgabriel
Copy link

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

@darkbasic
Copy link
Collaborator

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.

@jayserdny
Copy link

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

@panharithleang
Copy link
Author

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

@jayserdny
Copy link

@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

@panharithleang
Copy link
Author

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

@marquesgabriel
Copy link

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/

@airstep
Copy link

airstep commented Feb 8, 2018

I've used mup - with success

@jjh-vi
Copy link

jjh-vi commented Feb 27, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants