Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Latest commit

 

History

History
83 lines (60 loc) · 2.49 KB

index.md

File metadata and controls

83 lines (60 loc) · 2.49 KB

GtaCoolInuitCssBundle Documentation

Hi guys, the GtaCoolInuitCssBundle allows you to add easily inuit.css framework into an existent bundle or generate a new bundle with inuit.css framework inside.

It permit you to start and create an html5 website directly with Symfony2.

Table of contents

Installation

1. Download GtaCoolInuitCssBundle

You are using Symfony 2.0

The GtaCoolInuitCssBundle files should be added to the vendor/bundles/GtaCool/Bundle/InuitCssBundle directory.

This can be done by using the symfony vendor script.

Add the following lines inside your deps file:

[GtaCoolInuitCssBundle]
    git=git://github.com/Gta-Cool/GtaCoolInuitCssBundle.git
    target=/bundles/GtaCool/Bundle/InuitCssBundle

Now, run the vendors script to add the bundle:

$ php bin/vendors install

And proceed dependency installation with the following git command ("web" must be the name of your symfony web directory):

$ git submodule add git://github.com/Gta-Cool/inuit.css.git web/components/inuit.css
$ git submodule update --init

You are using Symfony 2.1+

The GtaCoolInuitCssBundle files should be added to the vendor/gta-cool/inuitcss-bundle/GtaCool/Bundle/InuitCssBundle directory.

This can be done by using the Composer script.

Add the following lines inside your composer.json file ("web" must be the name of your symfony web directory):

{
    "require": {
        "gta-cool/inuitcss-bundle": "dev-master"
    },
    // ...
    "config": {
        "component-dir": "web/components",
        "component-baseurl": "/components"
    },
}

Update the vendor libraries:

$ php composer.phar update gta-cool/inuitcss-bundle

2. Enable the Bundle

Enable the bundle in the kernel:

// app/AppKernel.php

public function registerBundles()
{
	$bundles = array(
		// ...
		new GtaCool\Bundle\InuitCssBundle\GtaCoolInuitCssBundle(),
	);
}