Skip to content
This repository has been archived by the owner on Dec 24, 2020. It is now read-only.

GotCms/GotCms

Repository files navigation

GotCms

Master status: Build Status Coverage Status Latest Stable Version Scrutinizer Code Quality

About GotCms

  • GotCms is a Content Management System (CMS) based on Zend Framework 2 which enables you to build websites and powerful online applications.
  • GotCms Official site
  • This product has been made available under the terms of the GNU Lesser General Public License version 3.
  • Please read the LICENSE.txt file for the exact license details that apply to GotCms.
  • See features

Release information

Updates in 1.6.2

Please see CHANGELOG.md.

Installation

Download

Composer:

$ curl -sS https://getcomposer.org/installer | php
$ php composer.phar create-project gotcms/gotcms path/ 1.6.2

Git:

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

Zip archive:

https://github.com/GotCms/GotCms/archive/1.6.2.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 /path/to/got-cms/public
    <Directory /path/to/got-cms/public>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
        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.23
  • XML support
  • FileInfo support
  • Mbstring support
  • Json support
  • Curl support
  • PDO 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

Instructions

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.

TROUBLESHOOTING

On Windows with wampserver, if you encounter an 403 Forbidden:

<Directory "path/to/got-cms">
    Allow from all
</Directory>

Contributing

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

Notes

Please visits the best framework ever : Zend Framework 2