Help us understand the problem. What is going on with this article?

Laravel5スタートメモ

More than 5 years have passed since last update.

マニュアル見ればわかるけど、コンパクトに見たい時用
参考:Laravel5公式

composer導入(ある場合は省略)

curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer

vim ~/.bash_profile

#パスを通す
export PATH=~/.composer/vendor/bin:$PATH

source ~/.bash_profile

composerでLaravelインストール〜起動

composer global require "laravel/installer=~1.1"

cd #larabelを設置したいパス
laravel new dir_name
cd dir_name
sudo chmod -R 777 app/storage

# 起動
php artisan serve
>Laravel development server started on http://localhost:8000/

よく使いそうなコマンド

#キャッシュクリア
php artisan cache:clear

#マイグレーションテーブル作成
php artisan migrate:install
#マイグレーション反映
php artisan migrate
terumichi1209
WEBエンジニアです!
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away