当前位置:网站首页>Out of the box high color background system
Out of the box high color background system
2022-07-03 10:25:00 【Android Guide】
Good evening , I am Lao Bei , official account 「GitHub Point north 」 Will recommend GitHub There are interesting projects on , Tap the value of open source , Welcome to your attention .
Dcat Admin
It's based on laravel-admin Secondary development of the background system building tools , With very little code, we can quickly build a fully functional high beauty background system . Built in rich background common components , Open the box , Let developers say goodbye to the tedious HTML Code , Very friendly to back end developers .
Results the preview
Use
Environmental Science
- PHP >= 7.1.0
- Laravel 5.5.0 ~ 8.*
- Fileinfo PHP Extension
install
If... Occurs during installation
composer
Download is too slow or installation fails , Please run the commandcomposer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
holdcomposer
Replace the image with Alibaba cloud image .
Installation is required first laravel
frame , If installed, you can skip this step . If you are using it for the first time laravel
, Please be sure to read the document first install 《Laravel Chinese document 》 !
composer create-project --prefer-dist laravel/laravel Project name 7.*
# or
composer create-project --prefer-dist laravel/laravel Project name
installed laravel
After that, we need to modify .env
file , Set the database connection correctly
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=dcat-admin
DB_USERNAME=root
DB_PASSWORD=
install dcat-admin
cd { Project name }
composer require dcat/laravel-admin
Then run the following command to publish the resource :
php artisan admin:publish
In this command a configuration file will be generated config/admin.php
, You can change the installation address in it 、 Database connection 、 And the name of the watch , It is recommended to use the default configuration without modification .
Then run the following command to complete the installation :
Executing this command may report the following errors
Specified key was too long ... 767 bytes
, If this error occurs , Please be there.app/Providers/AppServiceProvider.php
Of documentsboot
Add code to the method\Schema::defaultStringLength(191);
, Then delete all data tables in the database , Run it againphp artisan admin:install
Command is enough .
php artisan admin:install
After the above steps are completed, you can configure web
Yes , Pay attention to the need to web
Directory pointing public
Catalog ! If I use theta nginx
, You also need to add pseudo static configuration to the configuration
location / {
try_files $uri $uri/ /index.php?$query_string;
}
After starting the service , Open in browser http://localhost/admin
, Use the user name admin
And password admin
land .
Source code address
And no. GitHub Point north The background to reply High appearance background system Get the source address .
边栏推荐
- Leetcode - 1670 design front, middle and rear queues (Design - two double ended queues)
- What useful materials have I learned from when installing QT
- Discrete-event system
- Data classification: support vector machine
- Opencv notes 20 PCA
- When the reference is assigned to auto
- Inverse code of string (Jilin University postgraduate entrance examination question)
- Leetcode-112: path sum
- 2.2 DP: Value Iteration & Gambler‘s Problem
- 20220608 other: evaluation of inverse Polish expression
猜你喜欢
What can I do to exit the current operation and confirm it twice?
Policy gradient Method of Deep Reinforcement learning (Part One)
Connect Alibaba cloud servers in the form of key pairs
Pycharm cannot import custom package
Raspberry pie 4B deploys lnmp+tor and builds a website on dark web
Leetcode - 5 longest palindrome substring
CV learning notes - clustering
Leetcode - 1670 conception de la file d'attente avant, moyenne et arrière (conception - deux files d'attente à double extrémité)
Hands on deep learning pytorch version exercise solution - 2.5 automatic differentiation
Leetcode - 1172 plate stack (Design - list + small top pile + stack))
随机推荐
openCV+dlib实现给蒙娜丽莎换脸
Configure opencv in QT Creator
CV learning notes - feature extraction
Tensorflow2.0 save model
Discrete-event system
CV learning notes - Stereo Vision (point cloud model, spin image, 3D reconstruction)
[LZY learning notes dive into deep learning] 3.5 image classification dataset fashion MNIST
. DLL and Differences between lib files
SQL Server Management Studio cannot be opened
What did I read in order to understand the to do list
LeetCode - 5 最长回文子串
Leetcode-513:找树的左下角值
[LZY learning notes dive into deep learning] 3.4 3.6 3.7 softmax principle and Implementation
Leetcode - 705 design hash set (Design)
3.2 Off-Policy Monte Carlo Methods & case study: Blackjack of off-Policy Evaluation
One click generate traffic password (exaggerated advertisement title)
Advantageous distinctive domain adaptation reading notes (detailed)
Secure in mysql8.0 under Windows_ file_ Priv is null solution
一步教你溯源【钓鱼邮件】的IP地址
Leetcode-106:根据中后序遍历序列构造二叉树