Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cloned Laravel project and install composer and npm then also give me error 500 page not found

Tags:

I created project and push it to github Now I clone it into another pc

What i have done is

> composer install
> npm install

//also import the same database in sql 

now when I open project link in browser it's showing me error of page not found 500

like image 621
Danny Kamble Avatar asked Oct 28 '18 07:10

Danny Kamble


2 Answers

First create copy .env.example to .env file

> copy .env.example .env

> php artisan key:generate

then goto your .env file and change database details
this might work for you

like image 77
raviramani Avatar answered Sep 18 '22 21:09

raviramani


try php artisan serve and then localhost:3000 on browser

like image 38
Bonish Koirala Avatar answered Sep 17 '22 21:09

Bonish Koirala