meteorite

How come my Meteor app with accounts package is not sending a verification email?

最后都变了- 提交于 2019-11-30 12:37:34
I am making a meteor app and I have the mrt accounts-password package added as well as mrt accounts-ui-bootstrap-dropdown. I have added the loginbuttons so users can create an account and that works just fine. I am using all defaults. On the server I have the code: Accounts.config({ sendVerificationEmail: true, forbidClientAccountCreation: false }); And when I create a new account, the server console prints: I20130821-18:31:42.105(-4)? ====== BEGIN MAIL #0 ====== I20130821-18:31:42.106(-4)? MIME-Version: 1.0 I20130821-18:31:42.107(-4)? From: "Meteor Accounts" <no-reply@meteor.com> I20130821-18

Meteor collectionfs insert server side

不羁岁月 提交于 2019-11-30 07:42:40
hi everyone i using collectionfs + gridfs + cfs filesystem, on collectionfs documentation i find how to insert file on client side like this : Template.myForm.events({ 'change .myFileInput': function(event, template) { FS.Utility.eachFile(event, function(file) { Images.insert(file, function (err, fileObj) { //Inserted new doc with ID fileObj._id, and kicked off the data upload using HTTP }); }); } }); on that case will insert file on client side, but in my case i remove insecure, so can't do insert on client side, i try to make it on server side . so this is my code : Template.myForm.events({

How to use native client-side libraries in Meteor?

痴心易碎 提交于 2019-11-30 07:38:15
问题 Current Meteor version: Preview 0.6.6.3 I am tying to add client libraries in my Meteor project (on Ubuntu and also on Windows) with Meteor or meteorite, such as Taggle.js. Those libraries are not available as packages on Atmosphere. I tried to copy and paste my *.js in the .meteor/local/build/programs/client or .meteor/local/build/programs/client/app but it didn't work. How can I put client-side native libraries in my Meteor project? My current application structure: my_app/ css/ pages/ js/

How to pass a parameter to pathFor in Handlebars for Iron-Router with Meteorite?

╄→гoц情女王★ 提交于 2019-11-29 20:22:06
I have a simple route with a parameter: this.route('article', { path: '/article/:_id', data: function() { return Articles.findOne(this.params._id); } }); I would like to have use the pathFor handlebars helper here with the _id: {{#each articles}} <li><a href="{{pathFor 'article' _id}}">{{title}}</a></li> {{/each}} This doesnt work for passing the _id tag into the url though... <li><a href="{{pathFor 'article' _id=this._id }}">{{title}}</a></li> Thats how you pass a parameter In your example you don't need to pass any parameters. The pathFor helper will automatically use the current data

How to access client IP address in Meteor? [duplicate]

好久不见. 提交于 2019-11-29 18:56:14
问题 This question already has an answer here: How to get the user IP address in Meteor server? 6 answers This seems like a very basic question that doesn't have an elegant solution/answer out there. How can I access the client (remote) IP address from (1) the server or (2) the client? 回答1: As Florin mentioned, this is all pretty much integrated with Meteor now, as opposed to the dark ages when we had to do it ourselves. However, I've additionally wrapped it in a package that tracks all open

How come my Meteor app with accounts package is not sending a verification email?

懵懂的女人 提交于 2019-11-29 17:46:53
问题 I am making a meteor app and I have the mrt accounts-password package added as well as mrt accounts-ui-bootstrap-dropdown. I have added the loginbuttons so users can create an account and that works just fine. I am using all defaults. On the server I have the code: Accounts.config({ sendVerificationEmail: true, forbidClientAccountCreation: false }); And when I create a new account, the server console prints: I20130821-18:31:42.105(-4)? ====== BEGIN MAIL #0 ====== I20130821-18:31:42.106(-4)?

Meteor collectionfs insert server side

痴心易碎 提交于 2019-11-29 10:27:53
问题 hi everyone i using collectionfs + gridfs + cfs filesystem, on collectionfs documentation i find how to insert file on client side like this : Template.myForm.events({ 'change .myFileInput': function(event, template) { FS.Utility.eachFile(event, function(file) { Images.insert(file, function (err, fileObj) { //Inserted new doc with ID fileObj._id, and kicked off the data upload using HTTP }); }); } }); on that case will insert file on client side, but in my case i remove insecure, so can't do

Using “meteor mongo” on localhost but with remote Database

时光总嘲笑我的痴心妄想 提交于 2019-11-29 09:41:23
问题 I'm following the telescope tutorial. I created a /client/collections/myfile.js I'm on localhost, but I'm launching Meteor with remote DB hosted on MongoHQ instead of using Meteor's local DB. In this tutorial I'm told to insert a new post by opening the Mongo console. $ meteor mongo How can I: $ meteor mongo (somehow connect to my remote DB to use the meteor commands in terminal So that I can: $ db.collectionname.insert({ stuff }); Or does this have nothing to do with "Meteor" in this case

How to use native client-side libraries in Meteor?

淺唱寂寞╮ 提交于 2019-11-29 05:07:14
Current Meteor version: Preview 0.6.6.3 I am tying to add client libraries in my Meteor project (on Ubuntu and also on Windows) with Meteor or meteorite, such as Taggle.js . Those libraries are not available as packages on Atmosphere. I tried to copy and paste my *.js in the .meteor/local/build/programs/client or .meteor/local/build/programs/client/app but it didn't work. How can I put client-side native libraries in my Meteor project? My current application structure: my_app/ css/ pages/ js/ .meteor/ You shouldn't manually mess with files in .meteor directory (except for packages and release

Unable to install meteorite on Ubuntu VM

微笑、不失礼 提交于 2019-11-29 05:03:00
I run Win7 and install Ubuntu 12.04.3 in Oracle VM VirtualBox 4.3.6. First thing I do is try to install meteorite, but get the following error: npm install -g meteorite npm http GET https://registry.npmjs.org/meteorite npm ERR! Error: failed to fetch from registry: meteorite npm ERR! at /usr/share/npm/lib/utils/npm-registry-client/get.js:139:12 npm ERR! at cb (/usr/share/npm/lib/utils/npm-registry-client/request.js:31:9) npm ERR! at Request._callback (/usr/share/npm/lib/utils/npm-registry-client/request.js:136:18) npm ERR! at Request.callback (/usr/lib/nodejs/request/main.js:119:22) npm ERR!