jim-at-jibba/bones-slim-idiorm

Bones is a Slim/Idiorm/Twig/Foundation 5 Starter Boilerplate.

dev-master 2015-01-29 09:13 UTC

This package is not auto-updated.

Last update: 2021-01-18 13:26:25 UTC


README

Bones is a Slim/Idiorm/Twig/Foundation 5 Starter Boilerplate. This application uses the slim-skeleton repo, Idiorm ORM, twig templating engine and Foundation 5 as the front-end framework. It also includes bower and gulp files making it quick and easy get get going.

Installation

Install Composer

If you have not installed Composer, do that now.

http://getcomposer.org/doc/00-intro.md#installation

Install Bower

If you have not installed Bower, do that now.

http://bower.io/

Install Node & NPM

If you have not installed Node, do that now.

http://nodejs.org/download/

Slim Framework Skeleton Application

Install the Application

After you install Composer, run this command from the directory in which you want to install your new Slim Framework application.

php composer.phar create-project jim-at-jibba/bones-slim-idiorm [my-app-name]

Replace [my-app-name] with the desired directory name for your new application. You'll want to:

  • Point your virtual host document root to your new application's public/ directory.
  • Ensure logs/ and templates/cache are web writeable.

Next, you want to run the bower install command from within your project root. This will install the bower dependencies like jquery and Foundation 5

bower install

Finally install the gulp dependencies, run the gulp command and you are good to go.

npm install
gulp

Note

This is only a starting point and is here to get you off the ground quickly. Copy this repo, pull it apart and create awesome things.

The Environment Variable

The config file is loaded depending on the Environment Variable which needs to be set in the VHosts File. Add the following SetEnv SLIM_MODE development