{"id":402,"date":"2019-07-22T10:50:42","date_gmt":"2019-07-22T02:50:42","guid":{"rendered":"http:\/\/www.cxybj.com\/?p=402"},"modified":"2021-01-13T14:13:31","modified_gmt":"2021-01-13T06:13:31","slug":"windows10%e6%90%ad%e5%bb%ba%e5%ae%89%e8%a3%85laravel%e7%8e%af%e5%a2%83%e9%85%8d%e7%bd%ae%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/www.cxybj.com\/?p=402","title":{"rendered":"Windows10\u642d\u5efa\u5b89\u88c5Laravel\u73af\u5883\u914d\u7f6e\u6559\u7a0b"},"content":{"rendered":"<p>\u4e00. \u73af\u5883WampServer3 \u4e0b\u8f7d\u5730\u5740:https:\/\/sourceforge.net\/projects\/wampserver\/\uff0c<\/p>\n<p>\u4f7f\u7528WampServer\u7684\u539f\u56e0\u662f\u5b83\u96c6\u6210\u4e86php\u7684\u591a\u4e2a\u7248\u672c\u3001mysql\u7b49\u5f00\u53d1\u73af\u5883<\/p>\n<p>Composer\uff0c\u5230getcomposer.org\u4e0b\u8f7dComposer-Setup.exe<br \/>\n\u4e8c. \u6b65\u9aa4<\/p>\n<p>\u4e0b\u8f7d\u5b89\u88c5WampServer3.1.4<br \/>\n\u5b89\u88c5Composer\uff0c\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u9009\u62e9wampserver\u76ee\u5f55\u4e0bbin\/php7.2\u7248\u672c\uff08Laravel\u9700\u89817.1.3\u4ee5\u4e0a\u7684php\uff09<br \/>\n\u521b\u5efa\u76ee\u5f55www\/laravel\u4f5c\u4e3aLaravel\u9879\u76ee\u76ee\u5f55<br \/>\n\u5230\u00a0https:\/\/github.com\/laravel\/laravel\u00a0\u4e0b\u8f7dLaravel\u7684master\uff0c\u5e76\u89e3\u538b\u5230\u4e0a\u8ff0\u76ee\u5f55\u4e0b<br \/>\n\u8fdb\u5165\u547d\u4ee4\u884c\u65b9\u5f0f<br \/>\n\u5728www\/laravel\u76ee\u5f55\u4e2d\u8fd0\u884ccomposer install<br \/>\n\u628a.env.example\u6587\u4ef6\u590d\u5236\u4e00\u4efd\u526f\u672c\uff0c\u5e76\u91cd\u65b0\u547d\u540d\u4e3a.env.(\u8981\u6709\u6700\u540e\u9762\u7684.)<\/p>\n<p>\u6267\u884c\u547d\u4ee4\uff1acopy .env.example .env<\/p>\n<p>\u6267\u884c\u547d\u4ee4\uff1aphp artisan key:generate<br \/>\n\u542f\u52a8php\u4e2d\u7684www\u670d\u52a1\uff1aphp artisan serve, \u6309\u63d0\u793ahttp:\/\/127.0.0.1:8000<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00. \u73af\u5883WampServer3 \u4e0b\u8f7d\u5730\u5740:https:\/\/ &hellip; <a href=\"https:\/\/www.cxybj.com\/?p=402\" class=\"more-link\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[135,2,4],"tags":[],"_links":{"self":[{"href":"https:\/\/www.cxybj.com\/index.php?rest_route=\/wp\/v2\/posts\/402"}],"collection":[{"href":"https:\/\/www.cxybj.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cxybj.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cxybj.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cxybj.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=402"}],"version-history":[{"count":2,"href":"https:\/\/www.cxybj.com\/index.php?rest_route=\/wp\/v2\/posts\/402\/revisions"}],"predecessor-version":[{"id":459,"href":"https:\/\/www.cxybj.com\/index.php?rest_route=\/wp\/v2\/posts\/402\/revisions\/459"}],"wp:attachment":[{"href":"https:\/\/www.cxybj.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=402"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cxybj.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=402"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cxybj.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}