Build Laravel5 comprehensive teaching, crawl pits (under windows).

Source: Internet
Author: User

1, first download the cock ratio of composer

2. Then download Composer.phar

3. Then download the latest version of the Laravel framework

4, will download the Laravel compressed package into the Htdocs directory (throw to another directory did not try)

5, and then configure the path environment (played Java know not to say), in the system variables add ~/.composer/vendor/bin this thing, do not forget the front of the semicolon;

6. Then use the CMD command line tool to enter the extracted frame root directory by CD.

7, run the command php Composer.phar install (This process is relatively slow, half a point to a multi-point is possible, do not think he died, to wait. )

8, after the completion of the above process, if it is practice to give this entire directory of all permissions.

9. Then run the command in the root directory of the framework in cmd command, echo shadouxing > env

10. Then run the cmd command PHP artisan key:generate produce a laravel required key value

11, then will find the framework of the directory of more than one file, the file name is:. Env.example like this.

12. Then open it in Notepad and copy the contents. Then open the. env file that you created in that directory, erase everything that was in it, and then CTRL + V to paste it in.

13. Then enter the root directory of your laravel like this http://localhost/project name/public/wait for download.

In short, this frame is still relatively pit.

Build Laravel5 comprehensive teaching, crawl pits (under windows).

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.