clsystems/phalcms

A Content Management System built with Phalcon v4 and UiKit v3

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 1

Open Issues: 0

Language:JavaScript

Type:project

v1.0.4 2021-01-15 09:15 UTC

This package is auto-updated.

Last update: 2024-04-17 20:39:47 UTC


README

A Content Management System based on Phalcon v4 and UIKit v3

Requirements

  • Apache
  • PHP >= 7.2
  • MySql >= 5.7
  • Phalcon >= 4.0
  • PHP JSON extension
  • PHP MBSTRING extension
  • PHP ZIP extension
  • PHP mod-rewrite
  • Composer

Included

Core features

  • Multilingual
  • Categories nested (Nested Set Model)
  • Posts
  • Products
  • Comments
  • Custom fields
  • Menus
  • Widgets
  • Plugins
  • Mailer
  • Users
  • Roles
  • Custom admin path
  • Template override
  • Auto compress JS and CSS
  • ...

Core assets - a HUGE thank you to

  • Jquery v1.12.4
  • Jquery ui v1.12.1
  • Jquery nested
  • UIkit v3.3.2

Installation for Development

Clone this repo

git clone https://github.com/clsystems/phalcms.git

Add current user to www-data group (to allow writing config.ini file during install)

sudo usermod -a -G www-data $USER

Chmod permissions

cd phalcms
sudo chgrp -R www-data src
sudo chmod -R g+w src
sudo chmod -R g+s src

Composer install

cd src
composer install

Run website

Create a database with utf8mb4_unicode_ci collation.
Default database name is phalcms.

Make sure to setup your domain in such a way that 'src/public' is the webdirectory.
ie: "Document Root /var/www/example.tld/src/public"

Browse to http://example.tld and enjoy

OR

Build with Docker

cd ../
docker-compose build
docker-compose up -d

Browse http://localhost:8000 and enjoy

CLI

When located in main folder (1 step above /src) do:

php cli.php task:main

NB: CLI will only function AFTER config.ini has been created.