eZ Platform is a 100% open source professional CMS (Content Management System) developed by eZ Systems and the eZ Community.
eZ Platform is the 6th generation of eZ Publish, it is built on top of the Symfony framework (Full Stack). It has been in development since 2011, and integral part of the eZ Publish Platform 5.x as "Platform stack" since 2012.
eZ Platform Demo is an example of a simple website using eZ Platform. This example should not be use for starting a new project.
Features:
- Blog
- Gallery
- Contact Form
Full requirements can be found on the Requirements page.
TL;DR: supported PHP versions are 5.5, 5.6 and 7.0 (for dev use), using mod_php or php-fpm, and either MySQL 5.5/5.6 or MariaDB 5.5/10.0.
For simplified installation, alternatively see our Docker Tools Beta instructions in doc/docker-compose/README.md.
First, create a new database using the following command:
CREATE DATABASE <database> CHARACTER SET utf8;
Run composer create-project
to install the demo with required dependencies:
curl -sS https://getcomposer.org/installer | php
php -d memory_limit=-1 composer.phar create-project --no-dev ezsystems/ezplatform-demo
Installation will ask you for database credentials and secret token for Symfony, other settings can stay as default.
Next, run the following commands to install the demo and dump the assets:
php app/console ezplatform:install demo
php app/console assetic:dump --env=prod web
Configure virtual host by either taking examples from Nginx or Apache2 documentation,
or by using provided script to generate from templates, for help see ./bin/vhost.sh -h
, example:
./bin/vhost.sh --basedir=/var/www/ezplatform-demo \\
--template-file=doc/apache2/vhost.template \\
--host-name=ezplatform.demo \\
| sudo tee /etc/apache2/sites-enabled/ezplatform.demo.conf > /dev/null
Check and adapt the generated vhost config, and then restart Apache or Nginx. Note: If your web server is running as another user then owner of the files, change permissions to avoid issues.
For just local testing without installing a full web-server, while slow you can also run PHP's built-in web server using the following command:
$ php app/console server:run
Note: While far from meant for production use, you can run the command above with --env=prod
to disable debug.
Your installation is now ready. You can access the demo using the following addresses (depending on the vhost configuration):
- Front office: http://ezplatform.demo
- Admin access: http://ezplatform.demo/ez (login: admin, default password: publish)
Submitting bugs, improvements and stories is possible on https://jira.ez.no/browse/EZP. If you discover a security issue, please see how to responsibly report such issues on https://doc.ez.no/Security.
For instruction on how to run the functional tests, see RUNNING_BEHAT.md.
Copyright (C) 1999-2016 eZ Systems AS. All rights reserved.
http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2