/croogo

A CakePHP powered Content Management System. Contains experiments and my customizations works, and subject to rebase/rewind.

Primary LanguagePHPOtherNOASSERTION

Croogo

Croogo is a free, open source, content management system for PHP, released under MIT License.

It is powered by CakePHP MVC framework.

Build Status

Requirements

  • Apache with mod_rewrite
  • PHP 5.2 or higher
  • MySQL 4.1 or higher

Installation

Web based installer

  • Extract the archive. Upload the content to your server.
  • Create a new MySQL database (utf8_unicode_ci collation)
  • visit http://your-site.com/ from your browser and follow the instructions.

Manual installation

  • Extract the archive. Upload the content to your server.
  • Create a new MySQL database (utf8_unicode_ci collation), and use these two SQL dump files in given order:
    • Vendor/croogo/croogo/Config/Schema/sql/croogo.sql
    • Vendor/croogo/croogo/Config/Schema/sql/croogo_data.sql
  • Rename:
    • Config/database.php.install to database.php, and edit the details.
    • Config/croogo.php.install to croogo.php, and edit the details.
    • Config/settings.json.install to settings.json
  • You can access your admin panel at http://your-site.com/admin. The installer should display a page for you to create the administrative user.

It is recommended that you install Croogo using the web based installer for security reasons.

Installation using git

Beginning version 1.6.x, Croogo has been updated to be installed as a vendor package. This is intended to ease integration with an existing cakephp application.

  • Ensure you have a recent cakephp version 2.3

  • Run the following commands:

    git clone git://github.com/croogo/croogo-app mkdir -p croogo-app/Vendor/croogo cd croogo-app/Vendor/croogo git clone git://github.com/croogo/croogo

  • After running the web installer, you will need to generate the assets by running the following command from the application root directory:

    Console/cake croogo make

    The above command will fetch twitter bootstrap and FontAwesome and subsequently compile the CSS assets using lessphp.

    Alternatively, you could use lessc or recess as the compiler as they generate a better result. Edit the COMPILE value in the Makefile accordingly and run:

    ( cd Vendor/croogo/croogo/Croogo ; make )

Installation using composer

An alternative way to install Croogo is by using composer.

composer create-project croogo/croogo-app myapp
cd myapp
composer install

Links