|
Installation
Installation instructions
1. Installation
2. UpgradingUpgrading Mollify requires following steps:
If you are upgrading from Mollify version 0.9, remove also directory "org.sjarvela.mollify.App" (in 1.0, this is located at "mollify/client"). With MySQL installations, also database may require an upgrade. Check this by opening installation script with at "http://your.host.name/mollify/backend/install", and it will start upgrade if required. 3. ConfigurationMollify supports different kind of configuration options.
From technical point of view, Mollify supports file based configuration, and database (MySQL) based configuration. File based configuration is configured manually and is static. Database configuration, on the other hand, can be configured from client. From functional point of view, Mollify supports single user configuration and multi user configuration. In single user configuration, no authentication is required and all access rules apply to everybody. In multi user configuration different user accounts are set up, where different users can have different published directories and different access permissions. Database configuration is always multi user configuration, where file based configuration can be set to either kind. To choose the configuration type, consider following: Backend file "configuration.php" contains all configuration properties needed by Mollify, and contents depend on which type of configuration is chosen. Create "configuration.php" under directory "mollify/backend", examples can be found in folder "example" in installation package. Then, follow instructions based on configuration type:
Also, see instructions on additional configuration options. 4. Modifying Installation4.1. Relocating host page or backend interface filesHost page can be located anywhere, the only thing that matters is that backend interface files (*.php) are located under the same directory or in its subdirectories. If you wish to locate backend interface files (*.php) into a subdirectory, you must define this location in the host html file, with following format: <html> <head> ... <meta name="mollify:property" content="service-path=[RELATIVE_PATH]"> </head> ... </html> Replace [RELATIVE_PATH] with path to the backend interface files, relative to the host file. Note that path can only descend, you cannot go upwards in the folder hierarchy, and thus all leading dots and slashes are removed ("." and "/"). For example, if you place host file in http://your_host_name/mollify.html and the backend interface files into http://your_host_name/mollify/scripts/, the setting should be as follows: <meta name="mollify:property" content="service-path=mollify/scripts"> 4.2. Relocating client application filesClient application files ("/mollify/client") can be located anywhere, only the javascript and theme css references in the host page must be updated to match the new location. While the location and the name of the client folder can be changed, do not alter its contents. 4.3. Customizing Mollify host page, or integrating Mollify into existing web pageHost page structure can be freely modified, as long as following rules are met: |
Sign in to add a comment
i get this message when install from backend/install/ "MySQLI extension not detected"
How to fix it?
MySQLI is required for the installer, and you have to manually create needed tables. See instructions at http://code.google.com/p/mollify/wiki/ConfigurationMySql