/GotCms

GotCms is a Cms based on Zend Framework 2 and PosgreSQL / MySQL

Primary LanguagePHPGNU Lesser General Public License v3.0LGPL-3.0

GotCms - Information

Master status: Build StatusCoverage Status

About GotCms

GotCms is a content management system based on Zend Framework 2.2.0.

This product has been made available under the terms of the GNU GPL version 3. Please read the LICENSE.txt file for the exact license details that apply to GotCms.

Release information

Updates in 0.1.8

Please see CHANGELOG.md.

Download

Composer:

$ curl -s https://getcomposer.org/installer | php
$ php composer.phar install

Git:

$ git clone https://github.com/PierreRambaud/GotCms.git

Zip archive:

https://github.com/PierreRambaud/GotCms/archive/0.1.8.zip

Apache configuration

If you want to use VirtualHost, copy the .htaccess content otherwise check if "AllowOverride" is set to "All".

Example of VirtualHost:

<VirtualHost *:80>
    ServerAdmin admin@got-cms.com
    ServerName got-cms.com
    ServerAlias www.got-cms.com
    DocumentRoot /var/www/got-cms/public
    <Directory /var/www/got-cms/public>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride None
        Order allow,deny
        RewriteEngine On
        RewriteCond %{REQUEST_FILENAME} -s [OR]
        RewriteCond %{REQUEST_FILENAME} -l [OR]
        RewriteCond %{REQUEST_FILENAME} -d
        RewriteRule ^.*$ - [NC,L]
        RewriteRule ^.*$ index.php [NC,L]
    </Directory>
</VirtualHost>

Make sure read and write access are available by apache user/group for these directories:

  • config/autoload
  • public/frontend
  • public/media
  • data/cache

###Required

  • An HTTP server
  • Php version >= 5.3.3
  • XML support
  • PDO support
  • Mbstring support
  • Json support
  • A database supported by PDO.
    • MySQL
    • PostgreSQL

Recommended

Actually only tested with Apache HTTP server. Php configuration:

  • Display Errors: Off
  • File Uploads: On
  • Magic Quotes Runtime: Off
  • Magic Quotes GPC: Off
  • Register Globals: Off
  • Session Auto Start: Off

Installation

Go to the website, it will redirect you to /install. Please follow instructions, there are only five steps:

  • Language
  • License
  • Pre-configuration
  • Database connection
  • Configuration

Administration page is accessible by typing /admin after your installation path (i.e : http://yourdomain.tld/admin)

Then you can manage your website, create documents, documents types, datatypes, views, layouts, scripts, ...

All contents are stored in database.

Contributing

If you wish to contribute to GotCms, please read the CONTRIBUTING.md.

Notes

Please visits the best framework ever : Zend Framework 2