Simple Modulized PHP framework / Make any kind of website
PHP CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
backup
build
config
htdocs update base system Aug 20, 2016
logs
modules
private
profiles
scripts
sqlite
tmp
.gitignore
License.txt
README.md
composer.json
coscli.sh
phar-cli.php rm constant Aug 8, 2015
phar-web.php

README.md

  ___|             ___|  \  |  ___|  
 |      _ \   __| |     |\/ |\___ \  
 |     (   |\__ \ |     |   |      | 
\____|\___/ ____/\____|_|  _|_____/  

About

CosCMS is a simple modular framework for building web application or shell applications.

Modules are distrubuted as profiles.

This is the default profile, it includes a

  • Account system
  • A blog
  • Disqus
  • Analytics

Demo

Demo Site

Login with admin / admin

Install Requirements

You will need:

  • PHP>=5.5 (Tested with PHP7.0)
  • PHP extensions: PDO, PDO-mysql, GD, mbstring, intl
  • MySQL>=5.5, and
  • Apache2 with mod rewrite module enabled

You can install it else where, but this is the quickstart.

Install

Install

git clone https://github.com/diversen/coscms

cd coscms

Update composer packages

composer update

Create an apache2 host

./coscli.sh apache2 --en yoursite.com

Install:

./coscli.sh prompt-install --in

You will need a:

  • MySQL user (username and password) who can create a database
  • Database name to be created
  • Server name (yoursite.com - in our example)

Install will proceed, and all modules will be cloned from git repos.

At last you are prompted for an email and a password. Enter email and password, but just before logging in, run the following command to set correct file perms

sudo ./coscli.sh file --chmod-files

In order to change other settings, edit config/config.ini