iron-meteor / iron-cli

A scaffolding command line tool for Meteor applications.
640 stars 82 forks source link

Using Collection Fs with iron cli #243

Closed openqubit closed 8 years ago

openqubit commented 8 years ago

I am using collection fs package https://github.com/CollectionFS/Meteor-CollectionFS to try and upload my images.I have a collection file called schools.js and in it i have this code

 SchoolImages = new FS.Collection("schoolimages", {
        stores: [new FS.Store.GridFS("schoolimages")]
    });

Schools = new Mongo.Collection('schools');

For some reason,the schoolimages collection isn't being created. Why is this?.

maka-io commented 8 years ago

@openqubit check this out: https://atmospherejs.com/cfs/gridfs

openqubit commented 8 years ago

It was a 403 error which i solved by adding

 download:function(){
    return true;
  }

to my collection allow list.