Skip to content

Latest commit

 

History

History
46 lines (28 loc) · 2.18 KB

README.md

File metadata and controls

46 lines (28 loc) · 2.18 KB

Hadori Demo

This is the code used for the Hadori Theme Generator Demo. It uses the sfHadoriThemePlugin to create an administrative backend. Please use this to get a general idea how Hadori can be used as a backend for your website.

Installation

In order to get this project off the ground, follow these steps:

Symlink your symfony core library directory. If you do not have the core symfony library on your machine, you'll need to export it first.

  # Export the symfony release if you do not already have it
  $ svn export http://svn.symfony-project.com/tags/RELEASE_1_4_11 /usr/local/lib/symfony/RELEASE_1_4_11
  # Symlink in lib/vendor directory
  $ ln -s /usr/local/lib/symfony/RELEASE_1_4_11 lib/vendor/symfony

Init your git submodules

  $ git submodule init
  $ git submodule update

Copy config/database.yml.dist to config/database.yml and configure the file with the proper credentials

  $ cp config/databases.yml.dist config/databases.yml

Afer you configure your database, have doctrine set up tables and fixtures with the "build" command

  $ php symfony doctrine:build --all --and-load

Fix permissions for good measures

  $ php symfony project:permissions

And as always, publish them assets!

  $ php symfony plugin:publish-assets 

What Should I Do Now?

There are a few very helpful files you should check out to learn more about Hadori: