Closed polinabythebay closed 8 years ago
test
. If you want to play around with it clicking the button GET STUFF FROM Trends/place
in Simon's Controller will save a LocationTrend Mongo model to your local Mongo database called test
.Get Stuff from Trends/available
pulls objects from Trend model in Mongo, but if you have none saved it will just return a blank object..gitignore
so be sure not to use it for storing environment vars :) We should be using .env
now.test
:var uri = (process.env.MONGOLAB_URI || 'mongodb://localhost/test');
mongoose.connect(uri);
Would anyone like to do some research into MongoLabs and set up a free DB and a few users for us?
:+1: pull request looks good!
MongoLabs should be pretty easy. I can look into it with Kevin and anyone else next time we work on it. We'll probably make a new shared account and call it mks-trendr or something lol. will keep you all updated once that starts happening
:+1: yayyy! Simon and I will be getting together the 28th to get some hardcore stuff done
thanks for the feedback, will merge. sounds good, hope everyone has a good time off the next few days!
Resolves merge conflicts in https://github.com/mks-greenfield/trendr/pull/24.