A bootstrapped framework that uses CodeIgniter, Twitter Bootstrap, Grunt, Bower and various other components to help you start a website.
PHP CSS Other
Switch branches/tags
Nothing to show
Latest commit 7fc6fb9 Jul 11, 2015 @sjlu Merge pull request #1 from mberneis/master
fixing lesshat in bower and adding welcome text to welcome.php view

README.md

CodeIgniter Sunrise

CodeIgniter Sunrise is inspired by CodeIgniter Bootstrap and Sunrise. It has the intention of providing you a bootstrapped framework for you to work in without any setup. It includes a LESS compiler and JS concatenator run by Grunt and serveral libraries installed through Bower.

Install

  • Get a copy of the repo and extract it.

      wget https://github.com/sjlu/CodeIgniter-Sunrise/archive/master.zip -O sunrise.zip
      unzip sunrise.zip
      mv CodeIgniter-Sunrise-master sunrise
    
  • Install the following tools.

      npm install -g grunt
      npm install -g bower
    
  • Run the build script.

      ./build.sh
    

You can also use this script to instantiate a new project.

curl https://raw.github.com/sjlu/CodeIgniter-Sunrise/master/install.sh | bash -s sunrise

Usage

To compile LESS and JS, all you need to do is run Grunt in the root directory.

grunt

Heroku

You can deploy this using Heroku by using the custom buildpack.

heroku create --buildpack https://github.com/sjlu/heroku-buildpack-sunrise.git

License

MIT.