##Online demo
ℹ️ PrestaCMS Demo is online in english and french :
http://sandbox.prestacms.com and http://sandbox.prestacms.fr
Administration is under /admin
This is a sandbox to test the PrestaCMSCorebundle
It is based on :
** Important ** 🚧 [WIP] This project is still under heaving development and is not yet ready to use in production. PrestaConcept is currently developing it for their new website.
If you want to have some informations about the projet progession you can register to our 💬 google group
- Multiple website
- Custom theming
- Page edition
- WYSIWYG integration
Todo
- Demonstration multiple website
- Add media block
- Add a nice documentation
PrestaCMS is made to be easily customized.
It can be plugged to several themes and can benefit of Symfony template inheritance to extends them.
Creative is the first of our basic theme. It use LESS and is based on Twitter Boostrap
PrestaCMS can managed multiple websites, each of theme can have a theme, handle multiple locales and have there own content structure.
Theme administration allow you to edit the content which is present on every pages of your site like the footer.
Each page can have a different template on which you can add as many block as you need.
Thanks to a generic block system easily extendable, your pages can render eaverything you need.
As Symfony uses Composer to manage its dependencies, the recommended way to create a new project is to use it.
If you don't have Composer yet, download it following the instructions on http://getcomposer.org/ or just run the following command:
curl -s http://getcomposer.org/installer | php
Then, use the create-project
command to generate a new Symfony application:
php composer.phar create-project presta/cms-sandbox path/to/install/prestacms-sandbox -s dev
Composer will install Symfony and all its dependencies under the path/to/install
directory.
Sandbox is configured to work on SQLite. Database file will be create it app/database/app.sqlite.
app/console doctrine:database:create
app/console doctrine:schema:create
chmod 777 app/database app/logs app/cache
app/console doctrine:phpcr:repository:init
app/console doctrine:phpcr:fixtures:load --no-interaction
app/console doctrine:fixture:load --no-interaction
app/console assets:install --symlink
app/console assetic:dump --env=prod
If you have 'make' installed on your machine, you can use the install command
make install
Another command to reload fixtures:
make refresh
💬 : if you have a permission denied error, you just need to add the execution right on your console
chmod +x app/console
If you want more documentation about settings up Doctrine PHPCR-ODM with Jackrabbit or Midgard, have a look at the specific documentation or the cmf-sandbox set-up
As PrestaCMS depends on host configuration, you have to set up virtual hosts for the sandbox.
/etc/hosts
127.0.0.1 sandbox.prestacms.com
127.0.0.1 sandbox.prestacms.fr
vhosts.conf
#PrestaCMS Sandbox
<VirtualHost 127.0.0.1:80>
DocumentRoot /home/nbastien/www/prestaconcept/prestacms-sandbox/web
Servername sandbox.prestacms.com
Serveralias sandbox.prestacms.fr
ErrorLog "/var/log/apache2/prestacms-sandbox-error.log"
CustomLog "/var/log/apache2/prestacms-sandbox-access.log" common
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /home/nbastien/www/prestaconcept/prestacms-sandbox/web>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
</VirtualHost>
please checkout the README.md in the vagrant/ folder of the project
💬 If you need help about this project you can post a message on our google group
This project is supported by PrestaConcept
📖 Usefull links