Giter VIP home page Giter VIP logo

laravel-voyager-blog's Introduction

Build Status Build Status Total Downloads Latest Stable Version License Awesome Voyager

Voyager - The Missing Laravel Admin

Made with ❤️ by The Control Group

Voyager Screenshot

Website & Documentation: https://laravelvoyager.com

Video Tutorial Here: https://laravelvoyager.com/academy/

Join our Slack chat: https://voyager-slack-invitation.herokuapp.com/

View the Voyager Cheat Sheet: https://voyager-cheatsheet.ulties.com/


Laravel Admin & BREAD System (Browse, Read, Edit, Add, & Delete) & Blog, supporting Laravel 5.4 and newer! Build with Voyager Admin Package & ready update if voyager update

Installation Steps

1. Require the Package

After creating your new Laravel application you can include the Voyager package with the following command:

composer require ken/laravel-voyager-blog

2. Add the DB Credentials & APP_URL

Next make sure to create a new database and add your database credentials to your .env file:

DB_HOST=localhost
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret

LITEPIE_PREFIX=your/dashboard
LITEPIE_NAME=litepie
LITEPIE_APP_NAME=litepie
LITEPIE_DESCRIPTION="Description Your App"
LITEPIE_BUILDING="Jakarta, Indonesia"

You will also want to update your website URL inside of the APP_URL variable inside the .env file:

APP_URL=http://localhost:8000

Only if you are on Laravel 5.4 will you need to Add the Service Provider.

and adding

Ken\Blog\LitepieServiceProvider::class,

3. Automaticly Install Voyager

php artisan litepieweb:install

open config/voyager.php and change like this

'additional_css' => [
   'vendor/litepie/css/custom.css',
],

'additional_js' => [
   'vendor/litepie/js/tinymce.min.js',
],

Troubleshooting: Specified key was too long error. If you see this error message you have an outdated version of MySQL, use the following solution: https://laravel-news.com/laravel-5-4-key-too-long-error

And we're all good to go!

Start up a local development server with php artisan serve And, visit http://localhost:8000/your/dashboard for akses admin page

Thanks to the control group

laravel-voyager-blog's People

Contributors

kenhyuwa avatar

Stargazers

Stefano Ricci avatar 洛九 avatar  avatar  avatar Patrick Peng avatar Richard Tonato avatar  avatar  avatar

Watchers

James Cloos avatar  avatar Simon Janse avatar

laravel-voyager-blog's Issues

php artisan litepieweb:install SQL error

In Connection.php line 664:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'laravel-voyager-blog.menus' doe
sn't exist (SQL: select * from menus where name = admin limit 1)

In PDOConnection.php line 63:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'laravel-voyager-blog.menus' doe
sn't exist

In PDOConnection.php line 61:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'laravel-voyager-blog.menus' doe
sn't exist

where is the db:seed for creating these tables?

In Connection.php

I get this when I try to run php artisan litepieweb:install :

In Connection.php line 664:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'blog.menus' does
n't exist (SQL: select * from menus where name = admin limit 1)

In PDOConnection.php line 79:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'blog.menus' does
n't exist

In PDOConnection.php line 77:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'blog.menus' does
n't exist

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.