GotCms is a Cms based on Zend Framework 2 and PosgreSQL / MySQL
Please see CHANGELOG.md.
Composer:
$ curl -s 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
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:
Actually only tested with Apache HTTP server. Php configuration:
Go to the website, it will redirect you to /install. Please follow instructions, there are only five steps:
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.
On Windows with wampserver, if you encounter an 403 Forbidden
:
<Directory "path/to/got-cms">
Allow from all
</Directory>
If you wish to contribute to GotCms, please read the CONTRIBUTING.md.
Please visits the best framework ever : Zend Framework 2