wislem/berrier

A fruitful crud generator

Installs: 90

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 1

Open Issues: 0

Language:JavaScript

v1.0.8.8 2016-09-06 09:08 UTC

README

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.

Install

Via Composer

$ composer require wislem/berrier

Main Setup steps

Step 1

Add

Wislem\Berrier\BerrierServiceProvider::class

to your config/app.php file

Step 2

Publish various files needed php artisan vendor:publish

Step 4

Run composer dump-autoload

Step 5

Change your database/DatabaseSeeder.php to this:

<?php

use Illuminate\Database\Seeder;

class DatabaseSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $this->call(UsersTableSeeder::class);
        $this->call(CategoriesTableSeeder::class);
        $this->call(PagesTableSeeder::class);
        $this->call(SettingsTableSeeder::class);
    }
}

Delete default migrations of Laravel 5 inside database/migrations

Run php artisan migrate

Run php artisan db:seed

Step 6

In your User model, delete this line

use Illuminate\Foundation\Auth\User as Authenticatable;

and change

class User extends Authenticatable

to

class User extends \Wislem\Berrier\Models\User

Step 7

Edit the locales inside config/translatable.php to look like this

    'locales' => [
        'en',
        'el',
        'de',
    ],

since Berrier has these locales upon setup. Also change the config('app.url') to your proper url so that you can move to your website through Berrier's list pages.

Make sure to check the published config/berrier.php file for more options.

Step 8

Create a folder in the storage/app/public folder named uploads Then run: ln -s storage/app/public/uploads public/

Berrier uploads everything to the storage/app/public/uploads folder. Those uploads need to reside inside your /public folder so a link is necessary between the two.

Step 9

Log in http://your.path/admin using Email: admin@example.com Password: admin

Enjoy!

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email peter.lazaridis@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.