0
1

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 5 years have passed since last update.

Cloud9でLaravelプロジェクトをnewするまで

Last updated at Posted at 2019-07-15

Cloud9でLaravelプロジェクトを作成してみたので、その時の手順をメモしておきます。

Composerをインストール

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

PHPを現時点で最新の7.3にアップデートする

sudo yum -y install php73 php73-mbstring php73-pdo
sudo unlink /usr/bin/php
sudo ln -s /etc/alternatives/php7 /usr/bin/php

Laravelのバージョンを5.7に指定して、プロジェクトを作成

composer create-project laravel/laravel sampleapp --prefer-dist "5.7.*"

Server起動

php artisan serve --port=8080

さて、これから作っていくぞ!

0
1
0

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
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?