Deployment

From GNU MediaGoblin Wiki
Revision as of 22:35, 21 August 2011 by Cwebber (talk | contribs) (Created page with "This page could use a lot of work. For now, a few smaller deployment tips! = Use Virtualenv = Our Development quick start guide recommends using [http://buildout.org zc.bu...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This page could use a lot of work. For now, a few smaller deployment tips!

Use Virtualenv

Our Development quick start guide recommends using zc.buildout, but this system is somewhat problematic for actual deployments (if a buildout goes badly, buildout removes all your packaging setup and your scripts in bin/ and other things... yuck :\). Use Virtualenv instead. In the future, all our docs will bet set up to recommend using Virtualenv.

MongoDB setup

You should almost certainly run MongoDB with Journaling on if you have a new enough version of MongoDB. (If you don't, maybe you should get a newer version!) Without journaling there's some risk you could lose data that isn't yet written to disk if MongoDB is shut down incorrectly.