A CodeIgniter-based project boilerplate with some additional features that make development easier. It is a Lightweight Open Source package for you to build your own Custom Codeigniter-based application, instead of customize & remove unnecessary features.
THIS PACKAGE IS FOR MY PERSONAL USE ONLY, that's it!
-
PHP version 5.3 or newer
By default, CodeIgniter can be run on PHP version 5.2.4 (as minimum requirement) but in order to use PHPUnit and some order dependencies through composer, I recommend to use 5.3 or newer
-
Composer
Make sure you have Composer installed on your machine. If you don't have it installed, grab it from their official site.
-
Node.JS
In this case because I use Grunt.JS and Bower, I need Node.JS already installed. If you're not familiar with Node.JS, take a look at their official site for more informations.
$ mkdir <foldername>
$ cd <foldername>
I assume you're inside of the directory that has been created above.
$ composer create-project feryardiant/bootigniter .
You're on fire now.
-
Download and extract this package
$ wget https://github.com/feryardiant/bootigniter/archive/master.tar.gz -qO - | tar xz | shopt -s dotglob && cp -rf bootigniter-master/* . && rm -rf bootigniter-master/
That's assuming you have
wget
installed on your system, but if not just simply click this download link -
Install Composer Dependencies
$ composer install
-
Install NPM Dependencies
$ npm install
Last but not least, you need to edit database configuration file that locate in application/config/database.php
as usual CI database config. But before then, you need to create the database at first.
Your code has been ignited right now.
If everythings was done, you can run it by type from your terminal.
$ grunt
In order to auto reloading web browser when you finish editing some file, you need to install LiveReload. If you're using Chrome this extension is worth to try or if you're Firefox user please take a look at this add-ons.
$ grunt build
See here.
- Ellislab and all contributors of Codeigniter
- codeigniter-phpunit
- Bower Components, See my bower.json
- Node Modules, See my package.json
Various trademarks and licenses held by their respective owners.