Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

run laravel git project

Run all of those commands:
composer install or php composer.phar install
mv .env.example .env or  cp .env.example .env or copy .env.example .env
php artisan key:generate
php artisan migrate
php artisan db:seed to run seeders, if any.
php artisan serve
Comment

run laravel project from github

Clone your project
Go to the folder application using cd command on your cmd or terminal
Run composer install on your cmd or terminal
Copy .env.example file to .env on the root folder. You can type copy .env.example .env if using command prompt Windows or cp .env.example .env if using terminal, Ubuntu
Open your .env file and change the database name (DB_DATABASE) to whatever you have, username (DB_USERNAME) and password (DB_PASSWORD) field correspond to your configuration.
By default, the username is root and you can leave the password field empty. (This is for Xampp)
By default, the username is root and password is also root. (This is for Lamp)
Run php artisan key:generate
Run php artisan migrate
Run php artisan serve
Go to localhost:8000
Comment

PREVIOUS NEXT
Code Example
Shell :: apply last stash git 
Shell :: vim replace tabs with spaces 
Shell :: make fish as default shell 
Shell :: depends: libssl1.1 (= 1.1.1) but it is not installable 
Shell :: kill xcode from command line 
Shell :: kill port process 
Shell :: flutter skia shader compilation error 
Shell :: how to know version of heroku 
Shell :: install zsh debian 
Shell :: stop rebase git 
Shell :: watch nvidia smi 
Shell :: microsoft edge ubuntu uninstall command 
Shell :: git global gitignore 
Shell :: add changes to last commit 
Shell :: git abort REVERTING 
Shell :: certbot add new domain pache 
Shell :: apt install nc command 
Shell :: open wsl folder in windows explorer 
Shell :: commit without a message 
Shell :: ubuntu uninstall mosquitto 
Shell :: how to install yarn 
Shell :: git delete tag name 
Shell :: downgrade react 18 to 17 
Shell :: install aws cli in ec2 centos 
Shell :: install deb file 
Shell :: how to unrar in linux 
Shell :: upgrade php 8 ubuntu 20.04 
Shell :: how to uninstall aws cli 
Shell :: locale setting linux 
Shell :: aws cli s3 bucket list 
ADD CONTENT
Topic
Content
Source link
Name
1+8 =