* `Celery <http://celeryproject.org/>`_: for task queuing (resizing
images, encoding video, ...)
- * `MongoKit <http://namlook.github.com/mongokit/>`_: the lightweight
- ORM for MongoDB we're using which will make it easier to define
- structures and all that (will be swapped out soon...)
-
* `Babel <http://babel.edgewall.org>`_: Used to extract and compile
translations.
:routing.py: maps url paths to views
:views.py: views handle http requests
-:models.py: holds the mongodb schemas---these are the data structures
+:models.py: holds the sqlalchemy schemas---these are the data structures
we're working with
You'll notice that there are several sub-directories: tests,
More on this in :ref:`Drop Privileges for MediaGoblin <drop-privileges-for-mediagoblin>`.
-Configure MongoDB
-~~~~~~~~~~~~~~~~~
-
-.. warning::
-
- If this is a fresh setup and you have already set up PostgreSQL, you
- will not need this step.
-
-First, install MongoDB. On a DEB-based system run::
-
- sudo apt-get install mongodb
-
-on a RPM-based system, run::
-
- yum install mongodb-server
-
-After installing MongoDB some preliminary database configuration may
-be necessary.
-
-Ensure that MongoDB `journaling
-<http://www.mongodb.org/display/DOCS/Journaling>`_ is enabled. Journaling
-is enabled by default in version 2.0 and later 64-bit MongoDB instances.
-Check your deployment, and consider enabling journaling if you're running
-32-bit systems or earlier version.
-
-.. warning::
-
- Running MongoDB without journaling risks general data corruption
- and raises the possibility of losing data within a 60-second
- window when the server restarts.
-
- MediaGoblin recommends enabling MongoDB's journaling feature by
- adding a ``--journal`` flag to the command line or a "``journal:
- true``" option to the configuration file.
-
-MongoDB can take a lot of space by default. If you're planning on
-running a smaller instance, consider the `scaling down guide
-<http://wiki.mediagoblin.org/Scaling_Down>`_ for some appropriate
-tradeoffs to conserve space.
-
.. _drop-privileges-for-mediagoblin:
Drop Privileges for MediaGoblin