1. hikozuma

    Posted

    hikozuma
Changes in title
+Laravel 5.5にBackpackインストール時の注意点
Changes in tags
Changes in body
Source | HTML | Preview
@@ -0,0 +1,22 @@
+以下のURLの手順3-2でつまづいたので、メモ
+https://laravel-backpack.readme.io/v3.0/docs/install-on-laravel-55
+
+```
+2) Run these command in this exact order:
+mkdir public/uploads #create a public/uploads directory
+php artisan elfinder:publish #published elfinder assets
+php artisan vendor:publish --provider="Backpack\CRUD\CrudServiceProvider" --tag="public" #publish CRUD assets
+php artisan vendor:publish --provider="Backpack\CRUD\CrudServiceProvider" --tag="lang" #publish CRUD lang files
+php artisan vendor:publish --provider="Backpack\CRUD\CrudServiceProvider" --tag="config" #publish CRUD and custom elfinder config files
+php artisan vendor:publish --provider="Backpack\CRUD\CrudServiceProvider" --tag="elfinder" #publish custom elFinder views
+```
+
+
+この手順で、php artisan elfinder:publishを実行時にエラーが発生。
+調べたところ、下記のコマンドをたたく必要があったと分かった。
+
+```
+composer require barryvdh/laravel-elfinder
+```
+
+参照元:https://github.com/barryvdh/laravel-elfinder