GitHub - gravenix/codeigniter-gulp: It's gulp set up this way so you can quickly develop application with Code Igniter · GitHub
Skip to content

About

It's gulp set up this way so you can quickly develop application with Code Igniter

Resources

Stars

5 stars

Watchers

1 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

Repository files navigation

Code Igniter with gulp

This is a project set up to being used with gulp so you can develop your application faster.

Getting Started

  1. Pull the repository
  2. Change git remote origin with following command :
$ git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
  1. Run gulp
$ gulp
  1. Start developing your app!

Files

Type Location
Code Igniter /app
SCSS /scss
Javascript /js
Fonts /fonts

When you modify these file with gulp running it'll be handled and refresh your browser.

More info:

  • In /js folder files that names end with .min.js won't be minified but just copied

Configuration File

The configuration file is called project-config.json and is located in root folder

  • dist_dir: The location of your apache server that serves HTTP requests
  • host: Host used to browser-sync
  • port: Port used to browser-sync
  • debug: The location of your apache server that serves HTTP requests

Usage

  • For just run gulp in development mode
$ gulp
  • Build the project (minify files etc.). Build project is in build/ folder
$ gulp build
  • Clean dist_dir (removes everything)
$ gulp cleanup

About

It's gulp set up this way so you can quickly develop application with Code Igniter

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages