当前位置:网站首页>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
composerDownload is too slow or installation fails , Please run the commandcomposer config -g repo.packagist composer https://mirrors.aliyun.com/composer/holdcomposerReplace 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.phpOf documentsbootAdd code to the method\Schema::defaultStringLength(191);, Then delete all data tables in the database , Run it againphp artisan admin:installCommand 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 .
边栏推荐
- 20220608 other: evaluation of inverse Polish expression
- [LZY learning notes dive into deep learning] 3.4 3.6 3.7 softmax principle and Implementation
- Data preprocessing - Data Mining 1
- Rewrite Boston house price forecast task (using paddlepaddlepaddle)
- 【C 题集】of Ⅵ
- CV learning notes - clustering
- LeetCode - 919. Full binary tree inserter (array)
- Leetcode - the k-th element in 703 data flow (design priority queue)
- Anaconda installation package reported an error packagesnotfounderror: the following packages are not available from current channels:
- Basic use and actual combat sharing of crash tool
猜你喜欢

LeetCode - 1670 设计前中后队列(设计 - 两个双端队列)

Leetcode-513:找树的左下角值

Leetcode - 706 design hash mapping (Design)*

Opencv feature extraction - hog

Deep Reinforcement learning with PyTorch

2.1 Dynamic programming and case study: Jack‘s car rental

Hands on deep learning pytorch version exercise solution - 2.6 probability

LeetCode - 1670 設計前中後隊列(設計 - 兩個雙端隊列)

Basic use and actual combat sharing of crash tool

LeetCode - 919. Full binary tree inserter (array)
随机推荐
Leetcode-513:找树的左下角值
Matplotlib drawing
Leetcode - 1670 conception de la file d'attente avant, moyenne et arrière (conception - deux files d'attente à double extrémité)
LeetCode - 705 设计哈希集合(设计)
Pytorch ADDA code learning notes
QT setting suspension button
LeetCode - 673. Number of longest increasing subsequences
2018 Lenovo y7000 black apple external display scheme
Leetcode-112: path sum
『快速入门electron』之实现窗口拖拽
LeetCode - 900. RLE iterator
High imitation Netease cloud music
CV learning notes convolutional neural network
Cases of OpenCV image enhancement
20220602 Mathematics: Excel table column serial number
Octave instructions
LeetCode - 919. Full binary tree inserter (array)
Numpy Foundation
20220601 Mathematics: zero after factorial
Opencv notes 20 PCA