-
Notifications
You must be signed in to change notification settings - Fork 111
Installation
Oleksandr Torosh edited this page Aug 25, 2014
·
4 revisions
Requirements:
- Apache
- mod_rewrite
- PHP 5.4+
- intl (php module for L10n)
- MySQL
Installation step by step:
- Clone or download repo to your www or other installation directory
- Configure VirtualHost and set DocumentRoot /path/to/yona-cms/web
- Create MySQL database 'yona-cms'
- Import yona-cms.sql.gz to database
- Open /path/to/yona-cms/app/config/application.php and edit DB connection settings:
'development' => array(
'database' => array(
'host' => 'localhost',
'username' => 'root',
'password' => '111',
'dbname' => 'yona-cms',
'charset' => 'utf8',
),
),
- Make write/read permissions for:
/path/to/yona-cms/app/cache/
/path/to/yona-cms/web/assets/
/path/to/yona-cms/web/img/
Example:chmod 777 -R /path/to/yona-cms/app/cache/
- Launch 'yona-cms' on your host
- Open 'http://yona-cms/admin' and auth:
yona
yonacmsphalcon - After authorization remove user 'yona' and change password for user 'admin'
Development mode is default.
You can change application mode to Production in /path/to/yona-cms/web/.htaccess, just comment this line:
SetEnv APPLICATION_ENV "development"
For production mode change setting in app/config/application.php
'production' => array(
// ...
),