wislem / berrier by wislem

A fruitful crud generator
90
0
2
Package Data
Maintainer Username: wislem
Maintainer Contact: peter.lazaridis@gmail.com (Peter Lazaridis)
Package Create Date: 2016-01-29
Package Last Update: 2017-01-03
Language: JavaScript
License: MIT
Last Refreshed: 2024-11-22 03:10:28
Package Statistics
Total Downloads: 90
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 1
Total Open Issues: 0

berrier

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.