Skip to content
/ GotCms Public
forked from GotCms/GotCms

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

License

Notifications You must be signed in to change notification settings

zuk38/GotCms

 
 

Repository files navigation

GotCms - Information

Master status: Build Status Coverage Status Latest Stable Version Latest Unstable Version

About GotCms

  • GotCms is a Content Management System (CMS) based on Zend Framework 2.2.5 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
  • Try out online demo

Release information

Updates in 1.2.0

Please see CHANGELOG.md.

Installation

Download

Composer:

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

Git:

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

Zip archive:

https://github.com/GotCms/GotCms/archive/1.2.0.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.3
  • XML support
  • FileInfo support
  • Mbstring support
  • Json 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>

If you have suhosin installed on your server and you can't display pages because stream wrapper isn't register, add the following line in your php.ini:

suhosin.executor.include.whitelist = zend.view://, gc.script://

or in your Apache VirtualHost configuration:

php_value suhosin.executor.include.whitelist zend.view://, gc.script://

Contributing

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

Notes

Please visits the best framework ever : Zend Framework 2

Bitdeli Badge

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 83.2%
  • JavaScript 11.9%
  • CSS 4.7%
  • Shell 0.2%