dongzizhi9903
2018-10-28 07:49
浏览 135
已采纳

克隆Laravel项目并安装composer和npm然后也给我错误500页找不到

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

图片转代码服务由CSDN问答提供 功能建议

我创建项目并将其推送到github 现在我将其克隆到另一台PC

我所做的是

 >  composer install 
>  npm install 
 
 //也导入同样的数据库在sql 
   
 
 

现在当我在浏览器中打开项目链接时,它显示我找不到页面错误 500

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

2条回答 默认 最新

  • doudu2515 2018-10-28 07:53
    已采纳

    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

    点赞 打赏 评论
  • dsc7188 2018-10-28 08:06

    try php artisan serve and then localhost:3000 on browser

    点赞 打赏 评论

相关推荐 更多相似问题