lyra / cms-application
A CMS developed with Symfony2 and Doctrine2
Requires
- php: >=5.3.3
- doctrine/doctrine-bundle: dev-master
- doctrine/orm: >=2.2,<2.4-dev
- jms/security-extra-bundle: 1.1.*
- lyra/admin-bundle: dev-master
- lyra/content-bundle: dev-master
- sensio/distribution-bundle: dev-master
- sensio/framework-extra-bundle: dev-master
- symfony/assetic-bundle: dev-master
- symfony/monolog-bundle: 2.1.0-BETA4
- symfony/swiftmailer-bundle: dev-master
- symfony/symfony: 2.1.0-BETA4
- twig/extensions: dev-master
This package is not auto-updated.
Last update: 2024-05-11 11:27:23 UTC
README
A content management application developed with Symfony2 and Doctrine2. Under development, it can be installed for testing/preview but not on production sites.
Installation
These instructions have been tested under Linux/Unix, Windows users will need to make all the changes needed by their OS.
-
Install application source code with Composer:
curl -s http://getcomposer.org/installer | php php composer.phar create-project lyra/cms-application path/to/install
path/to/install
is the path to the folder where Lyra CMS application will be installed; it must not exist because it will be created by Composer. -
Customize configuration parameters
Edit
app/config/parameters.yml
and enter values for database_host, database_name, database_user, and database_password parameters. -
Create database
If database doesn't already exist, create it with the follwing command:
php app/console doctrine:database:create
-
Create database tables
php app/console doctrine:schema:update --force
-
Create content root node
The content root node (homepage) must be created with a shell command
php app/console lyra:content:init
-
Configure virtual host
The
web
directory of your project must be configured as web server Document Root. Here is an example of a configuration of an Apache virtual hostNameVirtualHost 127.0.0.1:8080 Listen 127.0.0.1:8080 <VirtualHost 127.0.0.1:8080> DocumentRoot path/to/install/web <Directory path/to/install/web> AllowOverride All Allow from All </Directory> </VirtualHost>
path/to/install
is the path used at step 1. Restart Apache to load this configuration. -
Access site
http://localhost:8080/app.php/
You can create content directly from the home page (link Create page on the right column). Or you can access the backend area at