How can I directly download the laravel project from the server in the local wamp configuration?

Source: Internet
Author: User
Tags composer install
I directly copy the project on which the online server is developed based on laravel to the local server and plan to create a test environment on the local server (do not ask why ), then I run it in the local wamp integrated development environment and open the directory like this. Then run the command line phpartisanserve...

I directly copy the project on which the online server is developed based on laravel to the local server and plan to create a test environment on the local server (do not ask why ), then I run it in the local wamp integrated development environment and open the directory like this.

Then run the command line php artisan serve to report the same error.

I know this method is incorrect, but I cannot find relevant information on the Internet. So here, I would like to ask how to copy the file from the server to a local configuration to form a test environment? Thank you ~

Reply content:

I directly copy the project on which the online server is developed based on laravel to the local server and plan to create a test environment on the local server (do not ask why ), then I run it in the local wamp integrated development environment and open the directory like this.

Then run the command line php artisan serve to report the same error.

I know this method is incorrect, but I cannot find relevant information on the Internet. So here, I would like to ask how to copy the file from the server to a local configuration to form a test environment? Thank you ~

The directories to be executed by laravel, such as Web/public, also need to be added and public

Laravel's entry file is not in the root directory and is in public.
Access is http://www.example.com/public/index.php

If the source code obtained from git needs to install composer and then composer install

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.