rjbordon / techo_encuestas

0 stars 2 forks source link

Look into datastore approaches #12

Open rjbordon opened 9 years ago

rjbordon commented 9 years ago

We need to review and decide the database we will use for this application. Sails.js connects and hides several technologies but we need to take the decision. We've also said that Techo is using google drive as data support... right?

rmarku commented 9 years ago

I think MongoDB is the best fit. Sails.JS is almost designed for it. W will need to migrate Google Drive data to the system (manually or automatically). I dont know of any tool to make the migration.

dariosus-techo commented 9 years ago

I'd personally prefer to do things the right way and not just adapt to the previous data in Google Drive. We may try to work with the Drive data, but if this solution is better we may actually make those horrible spreadsheets dissapear.

It seems like MongoDB might be a great idea

rjbordon commented 9 years ago

good! I love MongoDB, if we really can use it, let's go for it. It has pros and cons, as others, but it really accelerates development. So I think the next discussion will be: where will we deploy this app?

dariosus-techo commented 9 years ago

Techo has a few enviroments and servers available, but as you've seen in the Hackatong, I don't currently have root access. If we were to build a deploy script with the installations needed I could make it happen in our servers.

Do you guys think this is a good approach?

rmarku commented 9 years ago

Heroku is good for testing, and we can use MongoLabs for the DB. Using heroku for production will cost money (its free for 17hs/day). Using Techos server will have no cost, I think this a better approach for production.

I think that we will need to be in Beta o RC for production. Heroku will work up to that moment.