ipalaus / blender

The Laravel template used for (nearly) all our projects

Home Page:https://murze.be/2015/10/on-open-sourcing-blender/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blender

Software License Build Status SensioLabsInsight Quality Score

Blender is the Laravel template that is used for (nearly) all our projects.

You may use our template but please notice that we offer no support whatsoever. We also don't follow semver for this project and won't guarantee that the code (especially the master branch) is stable. In short: when using this, you're on your own.

Install

This guide assumes you're using Laravel Homestead

Laravel App

Download the master branch

git clone git@github.com:spatie-custom/blender.git

Edit your Homestead.yaml file and add Blender as a site

sites:
    - { map: blender.dev, to: /home/vagrant/Sites/blender/public }

Install the composer dependencies

composer install

Make a copy .env.example and rename to .env

Finally make sure you have a database named blender in Homestead, and run the migrations and seeds

php artisan migrate --seed

NPM

Installing Blender's npm dependecies requries NPM@3 of higher. Check your version to be sure.

npm -v

We use a custom npm registry at npm.spatie.be via Sinopia for our private packages.

npm set registry http://npm.spatie.be
npm set ca null

npm install

Don't forget to remove the registry line from your ~/.npmrc if you're planning to publish to npm at some point.

Customisation

  • Most of our projects are in Dutch. You can change the language in config/app.php and manage translations in database/seeds/data/fragments.xlsx
  • We use Redactor from Imperavi as text editor but are not licensed to open source this. The text editor is hence degraded to a standard text area unless you comment out this part in resources/assets/back/app.js

Gulp

Run gulp help to see available options.

To get you started for both front and back-end assets, run:

gulp
gulp --back

Colofon

Contributing

Generally we won't accept any PR requests to Blender. If you have discovered a bug or have an idea to improve the code, contact us first before you start coding.

License

Blender and The Laravel framework are open-sourced software licensed under the MIT license

About

The Laravel template used for (nearly) all our projects

https://murze.be/2015/10/on-open-sourcing-blender/


Languages

Language:PHP 56.6%Language:CSS 42.1%Language:JavaScript 0.9%Language:Shell 0.5%Language:HTML 0.0%