168
155

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

【忙しい人向け】カップ麺より早く作るDockerでLaravel開発環境構築

Last updated at Posted at 2019-10-30

コピペするだけ。

git clone https://github.com/ucan-lab/docker-laravel.git
cd docker-laravel

# Makeコマンド用意しています。
make create-project

# or 1コマンドずつ打ちたい人はこちら
mkdir -p src
docker compose build
docker compose up -d
docker compose exec app composer create-project --prefer-dist laravel/laravel .
docker compose exec app php artisan key:generate
docker compose exec app php artisan storage:link
docker compose exec app chmod -R 777 storage bootstrap/cache
docker compose exec app php artisan migrate

スクリーンショット 2019-10-31 14.44.31.png

GitHub

参考

168
155
4

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
168
155

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?