Search
 
SCRIPT & CODE EXAMPLE
 

PHP

running a laravel app locally

Create a database locally named what ever you want utf8_general_ci
Download composer https://getcomposer.org/download/
Pull Laravel/php project from git provider.
Rename .env.example file to .env inside your project root and fill the database information. (windows wont let you do it, so you have to open your console cd your project root directory and run mv .env.example .env )
Open the console and cd your project root directory
Run composer install or php composer.phar install
Run php artisan key:generate
Run php artisan migrate
Run php artisan db:seed to run seeders, if any.
Run php artisan serve
Comment

PREVIOUS NEXT
Code Example
Php :: php capitalize each word 
Php :: laravel chunkbyid 
Php :: laravel first or create 
Php :: php header location not working 
Php :: Numbers Formater Decimal & Thousand Separator PHP 
Php :: laravel limit query pagination 
Php :: laravel validate unique column 
Php :: Get User IP address (PHP) 
Php :: laravel blade file naming conventine 
Php :: php key value dictionary 
Php :: wp enqueue style 
Php :: how to retrieve value from stdclass array in php 
Php :: how to validate use unique in laravel 8 controller 
Php :: woocommerce get post terms product 
Php :: method put laravel 
Php :: publish config laravel 
Php :: php superglobal 
Php :: laravel eloquent get column 
Php :: server error in laravel 
Php :: php insert character into string 
Php :: saveAll get all id save cakephp 
Php :: php to call javascript function 
Php :: php difference between two dates 
Php :: php open csv 
Php :: upload_max_filesize 
Php :: how set variable public in static method in laravel 
Php :: symfony password generator command line 
Php :: laravel 8 Target class [FormController] does not exist. 
Php :: [InvalidArgumentException] Package mongodb/mongodb has requirements incompatible with your PHP version , PHP extensions and Composer version: - mongodb/mongodb 1.12.0 requires ext-mongodb ^1.13.0 but it is not prese nt. 
Php :: To find out where your php.ini is located 
ADD CONTENT
Topic
Content
Source link
Name
9+9 =