Quickstart - 2pisoftware/cmfive GitHub Wiki

CmFive Quickstart

Docker

The easiest way to get up and running is to use the docker image. Just fire up kitematic and search for cmfive.

The image is built using this github repository which provides a cmfive install script as part of it's Dockerfile and extensive help on working with the image.

Manual Installation instructions

  • Create a MySQL database and user, eg. "cmfive"
  • Create a vhost entry for apache, eg.
    <VirtualHost *:80>
    DocumentRoot "/path/to/your/cmfive/"
    ServerName cmfive.local
    ErrorLog "logs/cmfive.localhost-error.log"
    CustomLog "logs/cmfive.localhost-access.log" combined
    <Directory "/path/to/your/cmfive">
      Options FollowSymLinks
      AllowOverride All
      Order allow,deny
      Allow from all
    </Directory>
    </VirtualHost>
  • Create a host entry in C:/Windows/System32/drivers/etc/hosts on Windows, or /etc/hosts on Mac/Linux
127.0.0.1    cmfive.local

NB: To guarantee that everything runs as fast and smoothly as possible, ensure that your .htaccess file looks like:

<IfModule mod_headers.c>
   RequestHeader unset Proxy
</IfModule>

Options All -Indexes

# Turn on the RewriteEngine
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !\.(jpg|png|ico|jpeg|gif|css|js)$
RewriteRule ^(.*)$ /index.php [NC,L,QSA]
⚠️ **GitHub.com Fallback** ⚠️