assorted notes - Pistos/diaspora GitHub Wiki
Nushio> i'm interested in doing an android app for this :)
matthew-roberts> and I'm interested in doing an iPhone app :)
anonymous> you see, we had these HUGE IBM 3270 TERMINALS the green ones ... huge mainframe a disconnected client model and then what 20 years later comes INTERNET and it turns out to be THE SAME OLD PIG - WITH LIPSTICK !
grippi> run bundle exec rake db:purge to clear the database
<Dante> but basically: mongo : use diaspora-production ; db.users.find() <Dante
> db.users.copyDatabase(diaspora-production,backup)
also: use diaspora-development ; db.copyDatabase("diaspora-development","diaspora-development", "backup server IP") (copies the whole database)
how do i configure production environment to use development database?
koo5, you have to just manually hack the code and hardcode in a database name
in like config/initializers/_mongo.rb
you can also just copy over your old diaspora-development database to diaspora-production
aha!
lets see if just enabling caching in dev solves my speed problem..
dont wanna copy...maybe if it is possible to make an alias
not that I know of
if you really want to share the database, just hardcode the name
then make a git commit so git can merge it the next time you "git pull origin master"
(note: speed problem quite sloved, see caching in config/environments/development)
switching between development and production (script/server -e production)(enables caching) without switching databases (my database is empty!): http://pastebin.com/N76JFMed