$ php artisan –version
Laravel Framework 8.12.3
$ php -v
PHP 7.4.11 (cli) (built: Oct 21 2020 19:12:26) ( NTS )
// まずサーバ起動
$ php artisan serve –host 192.168.33.10 –port 8000
### jetstream install
$ php composer.phar require laravel/jetstream
$ sudo mv composer.phar /usr/local/bin/composer
$ php artisan jetstream:install livewire
$ php artisan migrate
mysql> use test;
mysql> show tables;
+—————–+
| Tables_in_test |
+—————–+
| failed_jobs |
| migrations |
| password_resets |
| sessions |
| users |
+—————–+
5 rows in set (0.00 sec)
mysql> describe users;
+—————————+—————–+——+—–+———+—————-+
| Field | Type | Null | Key | Default | Extra |
+—————————+—————–+——+—–+———+—————-+
| id | bigint unsigned | NO | PRI | NULL | auto_increment |
| name | varchar(255) | NO | | NULL | |
| email | varchar(255) | NO | UNI | NULL | |
| email_verified_at | timestamp | YES | | NULL | |
| password | varchar(255) | NO | | NULL | |
| two_factor_secret | text | YES | | NULL | |
| two_factor_recovery_codes | text | YES | | NULL | |
| remember_token | varchar(100) | YES | | NULL | |
| current_team_id | bigint unsigned | YES | | NULL | |
| profile_photo_path | text | YES | | NULL | |
| created_at | timestamp | YES | | NULL | |
| updated_at | timestamp | YES | | NULL | |
+—————————+—————–+——+—–+———+—————-+
12 rows in set (0.02 sec)
$ sudo npm install -g n
$ sudo n stable
$ node -v
v14.15.0
$ npm run dev
$ php artisan serve –host 192.168.33.10 –port 8000
http://192.168.33.10:8000/login
http://192.168.33.10:8000/register
OK!