solcre / columnis-express
Content Management System that consumes Columnis API and assigns the data to a template engine.
Requires
- php: >=5.4
- gkralik/gk-smarty: dev-master
- guzzlehttp/cache-subscriber: 0.2.*@dev
- guzzlehttp/guzzle: ~5.0
- mrclay/minify: *
- natxet/cssmin: *
- solcre/zf2-conditional-loader: dev-master
- zendframework/zendframework: 2.3.3
- zendframework/zftool: dev-master
- zfcampus/zf-apigility: ~1.0
- zfr/zfr-cors: 1.*
Requires (Dev)
This package is auto-updated.
Last update: 2024-12-17 22:30:30 UTC
README
Columnis Express
Introduction
Columnis Express is the new version of Columnis CMS. It is a simple ZF2 application that consumes Columnis API, assigns the data to the selected template engine and renders the request page.
Installation
-
To run columnis-express on your computer you must have doker installed and running.
-
Clone repository and run docker
$ git clone https://github.com/solcre/columnis-express.git
$ cd columnis-express
$ docker-compose up -d
If the console gives you the following, we are on the right track don't worry about the warning
- Rename local.php.dist to local.php
$ cd config/autoload
$ mv local.php.dist local.php
php composer.phar install
-
Open localhost:8080 in your browser and if you get something like this (img), everything is ok
-
Inside public_html paste all your project dir (templates, assets, css, etc) like this:
Note: for all this to work the .htacces, 404.html, index.php and php.ini files must be inside public_html and must never be modified, deleted or anything like that.
-
Right now you can go back to localhost:8080 and you should see your web site 🥳🍾
Server
PHP 5.4+ cURL
Libraries Used
Zend Framework 2
Guzzle 5 -> Used to consume the Columnis API
AssetsManager + Assetic + filters -> Used to manage and minify stylesheets and scripts
Smarty -> Used as template engine.
Apigility -> Used to retrieve templates and invalidate cache.