Coder Social home page Coder Social logo

cmf-sandbox's Introduction

Symfony Content Management Framework Sandbox

This sandbox is a testing ground for the cmf bundles being developped.

Getting started

You will need:

  • Git 1.6+
  • PHP 5.3.2+
  • phpUnit 3.5+ (optional)

Get the code

git clone git://github.com/symfony-cmf/cmf-sandbox.git
cd cmf-sandbox
cp app/config/config.yml.dist app/config/config.yml #maybe need to edit if defaults are not ok
bin/vendors.sh

This will fetch the main project and all it's dependencies ( Cmf Bundles, Symfony, Doctrine\PHPCR, Jackalope ... )

Install and run Apache JackRabbit

Follow the guide at https://github.com/jackalope/jackalope/wiki/Running-a-jackrabbit-server and then register the node types for phpcr-odm https://github.com/doctrine/phpcr-odm/wiki/Custom-node-type-phpcr%3Amanaged

Run the test suite

Tests are written with PHPUnit.

TESTS ARE CURRENTLY BROKEN

phpunit -c app

Import the fixtures

app/console -v phpcr:fixtures:load --path=src/Sandbox/MainBundle/Resources/data/fixtures/ --purge=true

Access by web browser

Create an apache virtual host entry along the lines of <Virtualhost *:80> Servername cmf.lo DocumentRoot /path/to/symfony-cmf/cmf-sandbox/web <Directory /path/to/symfony-cmf/cmf-sandox> AllowOverride All

And add an entry to your hosts file for cmf.lo

Then point your browser to http://cmf.lo/app_dev.php

Admin interface

THIS IS CURRENTLY BROKEN as it is based on the old form framework.

There is a proof-of-concept admin interface at http://cmf.lo/app_dev.php/admin We intend to replace this either by VIE (http://bergie.github.com/VIE/) or something with the AdminBundle.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.