Download
The CMS can be downloaded from github:
git clone git://github.com/net7/Talia-CMS.git
Installing the Symfony-based CMS
- Download the package
- The web server must be able to serve PHP5 (if you're on Mac OS server, enable the module in the control Panel of the "Web" service with the Server Admin tool)
- Make the log/ and cache/ subfolders writeable for the web server (on Mac OS, set the user to "_www" for these folders)
Database Setup
You must create the database and database user for your CMS by hand:
mysql -u root -p > create database cms_db; > grant all privileges on cms_db.* to cms_user@localhost identified by 'secret_password';
You can change the database name and so on, if you like. Then you'll have to modify the database connection settings in the files
* config/database.yml * config/propel.ini (There are two database strings here)
to match the settings of the database that you just created.
To set up and pre-fill the database do
# cd my_cms # php symfony propel-build-all ; The next command must match your settings. There will only be one sql file that has a "data.sql" ending. # mysql -u cms_user -p cms_db < data/sql/backup<long number>.data.sql
Permissions
Make the web server user (www, www-data, apache, _www) the owner of the log and cache directories # chown -R _www cache # chown -R _www log
Header images
To replace the header image, just replace the bg_*head*.* images in the web/css/img and web/static/css/img folders.
Header text
You can change the header text by modifying apps/frontend/templates/_header.php
Ready
You can now point your browser at http://<URL of CMS directory>/web/ to get started. Find the instructional videos here.
Files to adapt
These are the files that only exist as "<file>.example" in the repository. They must be copied from the example version to the real file (and adapted to your installation):
cp some_file.yml.example some_file.yml
The files are:
config/databases.yml.example # Database configuration config/propel.ini.example # Database configuration apps/frontend/config/app.yml.example # CMS configuration, languages configuration apps/frontend/config/view.yml.example # Header/Keyword configuration apps/frontend/config/routing.yml.example # Routing (change if you have other languages than default) apps/frontend/templates/_header.php # Header text
