[总结] L01 教程 by FamousMai
地址
项目 : https://github.com/FamousMai/laravel01
教程 : https://learnku.com/laravel/courses?notallow=227...
项目截图
开始吐槽
终于一步步把整个教程的东西都抄下来了,来写写总结把,遇到的坑有很多
坑1 - 环境搭建
最大的问题还是环境配置的问题,真的是令人头疼,现在我只是暂时用着xampp先投机取巧顶着,后面有时间再重新跟着教程重新配置一遍
坑2 - heroku部署上线
1、注册heroku账号时,会有验证你是不是机器人的验证码,要翻墙才能看到,一开始不知道,纳闷了半天都不知道怎么注册。后面终于看到了验证码,这个验证码是真坑啊,总共有三种,cars(汽车)、street signs(路标)、roads(公路),具体多坑,你们可以翻墙去试试。建议选择cars验证码是比较容易通过的
2、git push heroku master 输入账号密码一直不正确,我试过heroku、GitHub账号,都是报错,我也已经加了ssh key了啊(到现在还没解决,不知道哪位小伙伴遇到过可以告知一下,万分感谢)remote: ! WARNING:
remote: ! Do not authenticate with username and password using git.
remote: ! Run `heroku login` to update your credentials, then retry the git command.
remote: ! See documentation for details: https://devcenter.heroku.com/articles/git#http-git-authentication
fatal: Authentication failed for 'https://git.heroku.com/radiant-everglades-56841.git/'
第一次发文章,正努力学习中
推荐文章: