Phalcon CMS: Yona CMS

Source: https://github.com/oleksandr-torosh/yona-cms
Installation:

  1. Use composer
  2. Go into ‘yona-cms’ dir then modify the files permission
  3. Create a new database ‘yona-cms’ via PHPMyAdmin
  4. Import the tables from ‘yona-cms.sql’ file (available in root yona-cms)
  5. Modify /app/config/environment/development.php file for the database name, password and change the ‘base_path’ that suit with my local environment

    It worth also to modify ‘phinx.yml’ file in the root of yona-cms
  6. Run it on your web browser (Mine: http://localhost/works/phalcon/yona-cms/public/)The good thing is it’d also display the profiler bar (for development mode) at the bottom of the websiteFor the admin page (user login: yona, password:yonacmsphalcon), http://localhost/works/phalcon/yona-cms/public/admin. Here is the looksI STILL DIDN’T UNDERSTAND WHERE IS THE FILE FOR SETTING $_SERVER[‘APPLICATION_ENV’]. THE DEFAULT VALUE IS ‘development’. I DEBUGGED IT IN /public/index.php FILE. I HAVE SEARCHED ALL IN THE PHP, YML AND DATABASE FILE BUT DIDN’T FIND IT. AT LAST I FOUND IT IN /public/.htaccess FILE!!! IT USE APACHE AND IT’S UNEXPECTED. HERE IS THE LINE

    CAN READ ALSO http://stackoverflow.com/questions/13784116/setting-environment-variables-with-the-built-in-php-web-server.

Leave a Reply

Your email address will not be published. Required fields are marked *