At present, the requirements for running MongoPress include PHP 5.2+, MongoDB 1.8+ and the required PHP Drivers v1.1.4+

Setting things up is really quite simple (assuming you already have MongoDB and the MongoDB PHP Driver installed), all you will need to do is upload to a server, visit the root URL of the application, and follow the on-screen instructions. If you have the right user rights, you will be able to automatically created the necessary .htaccess and config.php files, otherwise you should get clear instructions that allow you to copy and paste the appropriate information. However, just in case, and to help clarify and document, we will outline all the settings associated with the config.php file.

These are the commonly configured global definitions:

MONGODB_HOST

This is the host address used for your MongoDB server.

MONGODB_NAME

This is the name you want to use / create for your MongoDB database.

OBJECT_COLLECTION

This is the name you want to use / create for your "object" collection.

SLUG_COLLECTION

This is the name you want to use / create for your unique "slug" collection.

USERNAME_COLLECTION

This is the name you want to use / create for your unique "user name" collection.

USER_COLLECTION

This is the name you want to use / create for your "users" collection.

SITE_NAME

This is the title of the installation and used in reference throughout headers, meta, etc.

SITE_ADDRESS

This is the domain for your installation - such as localhost or your-domain.com

BASE_URL_DIRECTORY

This is used to indicate whether or not the application has been installed within a sub-folder or not.

DB_USERNAME

This is the username for your MongoDB database.

DB_PASSWORD

This is the password for your MongoDB database.

DB_PORT

This is the port number used for your MongoDB server.

At the moment, these remain silent options:

MONGOPRESS_THEME

The name of the folder contained within "mp-content/themes" that you wish to use.

QUERY_PERMA

This is the "query_perma_key" and becomes a reserved namedspace for URL queries and filters.

SEARCH_PERMA

This is the "search_perma_key" and becomes a reserved namedspace for performing URL searches.

MP_DEBUG

This defines whether or not you wish to display additional MongoPress debug information whilst developing.

SKIP_HT

This allows for manually overriding the use of .htaccess and falls-back to MongoID ?obj=XXX methods.

OBJS_PP

This is the default number of objects to display per page.

MONGODB_REPLICAS

This defines whether or not you wish to use replica-sets (but does not create the necessary MongoDB database configurations - it only provides support for that functionality).

The following options are important random security keys and are important to have and be unique, so please visit our online key generation to create as necessary:

SITE_SALT

This should be a unique key that is used to provide an additional layer of security to your installation.

COOKIE_SALT

This should be a unique key that is used to provide an additional layer of security to your installation.