Skip to content

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
4 days ago
14 months ago
4 days ago
4 days ago
4 days ago
14 months ago
14 months ago
14 months ago
14 months ago
14 months ago
14 months ago
14 months ago
14 days ago
14 months ago
14 months ago
14 months ago

README.md

Laravel-Mp3Player-Sample


clone

$ git clone https://github.com/YA-androidapp/Laravel-Mp3Player-Sample

ライブラリのインストール

$ composer install

設定ファイル

$ cp .env.example .env
$ php artisan key:generate

DB の準備

$ touch database/database.sqlite
$ php artisan migrate

動作確認

$ php artisan serve

http://127.0.0.1:8000 にアクセス

ユーザー追加

ブラウザから実施

システム管理者権限付与

システム管理者にしたいユーザーの role1 を設定

Apache2でサブディレクトリに設置する場合

  • public/.htaccess
#RewriteRule ^ %1 [L,R=301]
RewriteRule ^(.*)/$ /<SUBDIR>/$1 [L,R=301]
RewriteBase /<SUBDIR>/
  • audio.js
"player-graphics.gif"
// 追記
"audio/js/player-graphics.gif"

php.iniの以下の設定値も併せて確認

  • file_uploads
  • max_file_uploads
  • upload_max_filesize
  • memory_limit
  • post_max_size

About

Laravelでオンラインメディアプレーヤーを作るための試行

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.