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.
If you have not installed Composer, do that now.
http://getcomposer.org/doc/00-intro.md#installation
If you have not installed Bower, do that now.
If you have not installed Node, do that now.
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/
andtemplates/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
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 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