Urigo / IonicCLI-Meteor-WhatsApp

WhatsApp Clone tutorial with Ionic 1.0 CLI and Meteor Server

Home Page:https://www.angular-meteor.com/tutorials/whatsapp/ionic/bootstrapping

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

meteor client side running on its default port

isaiahsimpsons opened this issue · comments

i am a newbie to meteor and am kindah stuck in the ionic CLI, i dont know how to change meteor-client-side to use a different port, please help. and if i should change it, should i make it run on the same ionic port (localhost:8100)?

also when i try the meteor add okland:accounts-phone, it gives an error 'Failed at the bcrypt@0.8.7 install script 'node-gyp rebuild', i tried to search for the fix and i got an option to use bcryptjs but i am supposed to change the (require), how do i change that? any help will do please.

I am using the ionic cli

@isaiahsimpsons For your first question, when you run Meteor server specify its port by running the following:

$ meteor run --port "3003"

You also need to specify the address of the server on the Meteor client by using the following code snippet:

import 'meteor-client-side';
// The rest of the importations...

__meteor_runtime_config__.DDP_DEFAULT_CONNECTION_URL = 'https://localhost:3003'

This way you can also connect to a completely unrelated Meteor server.

For your second question, your'e probably using a newer version of Meteor, I suggest you add the following packages instead:

$ meteor add npm-bcrypt@0.8.7
$ meteor add mys:accounts-phone

I will update the tutorial asap once I do I will close this issue.

thanks for your assistance

On Tue, Oct 18, 2016 at 11:39 AM, Eytan Manor notifications@github.com
wrote:

Closed #7 #7 via
DAB0mB/angular-meteor-docs@9f34855
DAB0mB/angular-meteor-docs@9f34855
.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#7 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATeTaOwPxz7m8d9UBMO-MTtJdc9RGZInks5q1IXEgaJpZM4JREXa
.

simpsons