Laravel New Project
2018-08-27 11:08:01 laravel-new
Laravel study continues. I am going to redo my art website (bschu.net) in Laravel to pick up the basics. I'm using a Debian 8 virtual machine and so I'm practicing with Laravel 5.3 for PHP5. Here are some notes for reference.
If you have more up-to-date stuff you might want a different technique.
Install composer and all required dependencies for your system.
If Laravel isn't installed yet: composer global require "laravel/installer" and update PATH var.
Create new project for php5 composer create-project laravel/laravel ltest "5.3.*" --prefer-dist
Go into the project directory and php artisan serve. Now you can see the project running at http://127.0.0.1:8000
Go into resources/views/welcome.blade.php and change something to ensure it's working.
In config/database.php you can set up database details.
Move ".env.example" to ".env" and config for database.
Run php artisan make:auth and php artisan migrate to make user registration
Goto http://127.0.0.1/register to see it working.
That's it! Now you can start making routes and views for your app.