Answers for "laravel 8 install"

1

install laravel 8 with composer

composer create-project --prefer-dist laravel/laravel test "8.*"
Posted by: Guest on August-03-2021
-2

Setup Laravel 8

*******************************************
*** SETTING UP LARAVEL 8 (Simple steps) ***
*******************************************

**Ensure you computer already has PHP and Composer installed.
Then apply the CLI commands below.

** Vist "https://www.apachefriends.org/index.html" to install PHP via XAMPP
** Visit "https://getcomposer.org/" to install composer


ENTER CLI TERMINAL COMMANDS below
------------------------------------
> composer create-project laravel/laravel example-app

> cd example-app

> php artisan serve

> composer require laravel/ui

> php artisan ui vue --auth

Now you will have to ensure you setup your database variables in the 
.env file of your laravel project so you can migrate your database.

> php artisan migrate

**At this stage, your laravel app is fully ready with 
login authentication for development


DEPLOY APP TO ONLINE LINUX SERVER
---------------------------------
[1] Delete the file called "Server.php" in the Laravel Project directory

[2] Copy your laravel 8 project to your web server "Public_html" directory

[3] Simply copy all files in the "Public_html" folder of your 
Laravel 8 Project and paste in the server web home directory 
which is the servers own 'Public_html' folder which is also where
Laravel project files are.

[4] Then update the index.php file by changing the directory levels
e.g. change '/../storage/framework/maintenance.php' to
'/storage/framework/maintenance.php' by removing the '../' in the directory syntax.
Thats all! just refresh your browser and your app will be running fine.
 

-- By Atsu Emmanuel T.
(Web Developer / Architecht)
Email: [email protected]
Posted by: Guest on July-24-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language