Skip to content

nicolas-joubert/prestacms-sandbox

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Presta CMS Sandbox Build Status

##Online demo

ℹ️ PrestaCMS Demo is online in english and french :

http://sandbox.prestacms.com and http://sandbox.prestacms.fr

Administration is under /admin

Overview

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

Features

  • Multiple website
  • Custom theming
  • Page edition
  • WYSIWYG integration

Todo

  • Demonstration multiple website
  • Add media block
  • Add a nice documentation

Front website with custom theming

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 Homepage

PrestaCMS Creative Homepage

Creative is the first of our basic theme. It use LESS and is based on Twitter Boostrap

Integrated with Sonata Admin

PrestaCMS Dashboard

Manage multiple front website from the same backend

Website administration

PrestaCMS Website administration

PrestaCMS can managed multiple websites, each of theme can have a theme, handle multiple locales and have there own content structure.

Themes administration

PrestaCMS theme administration

Theme administration allow you to edit the content which is present on every pages of your site like the footer.

Content administration

Page edition

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.

Installing PrestaCMS Sandbox

Get the code

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.

Create the database

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
chmod 777 app/database/*
app/console doctrine:phpcr:init:dbal
app/console doctrine:phpcr:register-system-node-types
app/console doctrine:phpcr:fixtures:load --no-interaction

If you have 'make' installed on your machine, you can use the install command

make install

💬 : 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

Virtual host

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.local
127.0.0.1 sandbox.prestacms.fr.local

vhosts.conf

#PrestaCMS Sandbox
<VirtualHost 127.0.0.1:80>
    DocumentRoot /home/nbastien/www/prestaconcept/prestacms-sandbox/web

    Servername sandbox.prestacms.com.local
    Serveralias sandbox.prestacms.fr.local

    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>

Ask for help

💬 If you need help about this project you can post a message on our google group


This project is supported by PrestaConcept

📖 Usefull links

About

Sandbox to test PrestaCMS bundles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published