Skip to content
giorno edited this page May 19, 2011 · 9 revisions

Chassis Framework (referred to simply as framework) is lousy collection of templates, libraries, scripts, styles, images useful for development of multiuser web applications using LAMP, Javascript and CSS. It does not solve your problems, only provides tools to do so yourself.

Requirements

  1. UNIX like system
  2. Apache, PHP, MySQL

License

Project is Open Source software, distributed under Apache License, Version 2.0.

3rd party complement contains software, which is distributed by different yet Open Source licenses.

Installation

Framework sources are available as:

  • public online git repository: git@github.com:pumpkyn/Chassis.git
  • release packages, see Downloads for release packages
  • bundled with another projects

Installation of sources from git repository:

These steps are necessary if you want to use framework from git repository:

  1. Create and initialize local repository:
mkdir Chassis
cd Chassis
git init
  1. Configure remote origin:
git remote add origin git@github.com:pumpkyn/Chassis.git
  1. Checkout sources:
git pull origin master
  1. Visit 3rd party packages page and follow steps to install 3rd party resources.
  2. Create and give permissions to tmp folder content (requirement for Smarty template engine):
mkdir -p tmp/smarty_cache
mkdir -p tmp/smarty_cmpl
chmod -cR 777 tmp
  1. Your local repository with framework sources is configured.

Database tables

This step is required for any single distribution of framework only (git or release).

  1. Locate script tables.sql in /sql/ directory.
  2. Create database in your MySQL server in SQL tool like PhpMyAdmin or Oracle SQL Developer.
  3. Execute this script in same tool, or alternatively
  4. (instead of steps 3. and 4. above) run in MySQL client:
mysql -u user -p -e "CREATE DATABASE database"
mysql -u user -p -b database < sql/tables.sql

Remark on bundled framework

If framework is distributed with another project, you should refer to documentation of that project for details about installation.

Clone this wiki locally