Documentation
- Installation
- The Anatomy of Cmfive
- Core Modules
- Introduction
- Admin
- Auth
- Channels
- Favorite
- File
- Form
- Help
- Inbox
- Insight
- Install
- Main
- Report
- Search
- Tag
- Task
- Timelog
- Cmfive Tests
- Introduction
- Install Codeception
- Selenium Setup
- WebDriver Setup
- Enable Tests
- Running Tests
- Writing Tests
- Cloud Provider Integration
Documentation
Installation
This guide assumes a working knowledge on how to set up apache to serve a PHP application as well as having an empty MySQL database (with user and password) ready to go.
To install Cmfive, clone or download the Boilerplate repository and unpack (if necessary) into a directory of your choosing.
Copy the config.php.example file to config.php and update the database section to contain the credentials of your Cmfive database, e.g.:
Config::set("database", [
"hostname" => "localhost",
"username" => "cmfive",
"password" => "cmfive",
"database" => "cmfive",
"driver" => "mysql"
]);
Change any other configuration items as you see fit then open a terminal in the boilerplate folder and type:
php cmfive.php
Running through commands 1-4 will get you set up and ready to go. Here is an explanation of each command.
- Will install any third party libraries Cmfive requires via Composer (the composer executable is bundled with the Boilerplate repo)
- Will install all Cmfive migrations
- Will set up an administrator user, needed to log in to a new Cmfive install
- Will generate encryption keys used by Cmfive