2017 © Pedro Peláez
 

library l4template

A Laravel application template with lots of workflow tools preconfigured.

image

codenamegary/l4template

A Laravel application template with lots of workflow tools preconfigured.

  • Thursday, September 18, 2014
  • by codenamegary
  • Repository
  • 1 Watchers
  • 0 Stars
  • 15 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Laravel 4.2 Template

Includes many things to help workflow including..., (*1)

  • Laravel 4.2.x
  • Grunt
  • Bootstrap 3.2.0 (and dependencies incl. jQuery)
  • Font Awesome 4.2.0
  • Backbone JS 1.1.2
  • Preconfigured for deployment on PagodaBox, will work with any suitable provider

Grunt is preconfigured to compile, copy and minify everything nicely into your public directory., (*2)

Customizing Twitter Bootstrap

The Bootstrap less (css) is compiled out of /assets/less/bootstrap.less. It uses a custom variables file so that you can easily override variables and still upgrade bootstrap with ease., (*3)

JavaScripts

Backbone.js is included by default. Some placeholder directories are located in /assets/js for your models, views and other services. These are compiled into app.js by Grunt, out of the box. Just place your scripts here and watch them go!, (*4)

Setup Instructions

Create a new directory and install the template

composer create-project codenamegary/l4template

Setup your environment detection

Laravel Environment Configuration Docs, (*5)

  • Set a "LARAVEL_ENV" environment variable OR
  • Update /bootstrap/start.php to detect your environment some other way

For convenience, the template is preconfigured to look for an environment variable called "LARAVEL_ENV". For expediency, you can create this variable and the template will use it., (*6)

Configure your connections and components

Laravel Database Config Docs, (*7)

Laravel Auth Config Docs, (*8)

Other Laravel Docs, (*9)

Run base migrations

php artisan migrate

Install node and other JS / Less modules

npm install
bower install

Compiling assets

You can compile the less (css) and JavaScripts using Grunt by running "grunt dist" at any time from the project root directory., (*10)

grunt dist

The watch plugin is also included, if you'd like Grunt to execute and compile your less and scripts as you go just run "grunt watch"., (*11)

grunt watch

Deploying

Setup an account at PagodaBox and push your code there., (*12)

The Versions

18/09 2014

dev-master

9999999-dev

A Laravel application template with lots of workflow tools preconfigured.

  Sources   Download

MIT

The Requires

 

laravel framework

18/09 2014

v0.0.4

0.0.4.0

A Laravel application template with lots of workflow tools preconfigured.

  Sources   Download

MIT

The Requires

 

laravel framework

18/09 2014

v0.0.3

0.0.3.0

A Laravel application template with lots of workflow tools preconfigured.

  Sources   Download

MIT

The Requires

 

laravel framework

18/09 2014

v0.0.2

0.0.2.0

A Laravel application template with lots of workflow tools preconfigured.

  Sources   Download

MIT

The Requires

 

laravel framework

18/09 2014

v0.0.1

0.0.1.0

A Laravel application template with lots of workflow tools preconfigured.

  Sources   Download

MIT

The Requires

 

laravel framework