In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains the "installation and use of laravel-admin background", the content of the explanation is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "laravel-admin background installation and use" bar!
First, make sure that laravel is installed and that the database connection is set up correctly.
Enter the project directory to execute such as / app/laravel_admin/blog
Composer require encore/laravel-admin
Then run the following command to publish the resource:
Php artisan vendor:publish-provider= "Encore\ Admin\ AdminServiceProvider"
In this command, a configuration file config/admin.php is generated, in which you can modify the installation address, database connection, and table name. It is recommended that you do not modify it with the default configuration.
Then run the following command to complete the installation:
Php artisan admin:install
If you encounter the following error when running this command:
SQLSTATE [42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes (SQL: alter tableusersadd uniqueusers_email_unique (email))
Refer to this issue to solve https://github.com/z-song/laravel-admin/issues/1541
After starting the service, open http://localhost/admin/ in the browser and log in with the user name admin and password admin.
Thank you for your reading, the above is the content of "installation and use of laravel-admin background". After the study of this article, I believe you have a deeper understanding of the installation and use of laravel-admin background, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.