rtmatt/boilerplate

This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (1.0.1) of this package.

RedTrain Web Services Boilerplate

1.0.1 2015-09-23 17:04 UTC

This package is not auto-updated.

Last update: 2018-05-14 23:48:44 UTC


README

Sick of doing the same shit over and over? So was I.

This should help speed shit up. Fast shit is fun.

Features

  • Integrated with v1 of RedTrain Abstract Resource Manager. Ships with example model and migration.
  • Main and Admin site layouts.
  • Main and Admin less and js files with gulpfile for builds (bootstrap imported).
  • Auth views have been brought back for ease.
  • Intervention Image and Form facade come pre-installed
  • Post create-project commands to make your life easier
  • Routes for main, admin and auth set up

Installation

Via Composer

$ composer create-project rtmatt/boilerplate [directory]

This will download the source files, change ownership and permissions on requred laravel directories as well as create a public/uploads folder with the proper permissions.

Configure

Set up your .env file to hook into your DB. If you want to enable Admin Demo Mode (shows all versions of modified images) add

DEMO=true

Migrate

Boilerplate ships with a example resource. Run

$ php artisan migrate

to create the table for it, or run

$ rm -f database/migrations/2015_08_03_235354_create_test_resources_table.php app/TestResource.php app/Http/Controllers/Admin/TestResourcesController.php

to remove the test model, migration and controller. You will still need to remove the route from app/Http/routes.php