Error when opening a Project in laravel

1

I'm new to laravel, I have a problem. I have a project that was passed to me from a PC and I am using it in mine. I already install the composer and install laravel, when I try to open it by php artisan serve in the direction of my project in htdocs in xampp send me these errors:

  

Warning:   require (C: \ xampp \ htdocs \ TS_Proyect \ public /../../ laravel / bootstrap / autoload.php):   failed to open stream: No such file or directory in   C: \ xampp \ htdocs \ TS_Proyect \ public \ index.php on line 22

     

Fatal error: require (): Failed opening required   'C: \ xampp \ htdocs \ TS_Proyect \ public /../../ laravel / bootstrap / autoload.php'   (include_path = 'C: \ xampp \ php \ PEAR') in   C: \ xampp \ htdocs \ TS_Proyect \ public \ index.php on line 22

    
asked by Luis Fernando Zumaran 08.09.2018 в 03:14
source

1 answer

1

Those errors are because you have not installed the libraries,

run in the root of your project

composer install

often you will have to copy the file '.env.example' to '.env'

then execute

php artisan key:generate

configures the connection to the database.

php artisan migrate (si tiene seeders utiliza  --seed)

and you should be able to visualize your project.

    
answered by 12.09.2018 в 14:32