0
0

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.

laravel6

0
Last updated at Posted at 2019-11-22
terminal
sudo service mysqld start
mysql -u root -p
CREATE DATABASE laravel CHARACTER SET utf8;
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php composer-setup.php
php -r "unlink('composer-setup.php');"
sudo mv composer.phar /usr/local/bin/composer
composer global require laravel/installer
export PATH=~/.composer/vendor/bin:$PATH
composer create-project --prefer-dist laravel/laravel laravel6

terminal
laravel new laravel6
terminal
composer require laravel/ui

「laravel DB作成

terminal
cd laravel6
php artisan ui vue --auth

php artisan migrate
terminal
npm install
terminal
npm run dev
terminal
php artisan serve
http://127.0.0.1:8000/home
0
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?