“Ejecutar el proyecto Laravel en localhost” Código de respuesta

Cómo alojar el proyecto Laravel en el servidor local

// command to host laravel project on local machine

//php artitan serve --host=your ip address --port=select port
php artisan serve --host=195.154.12.125 --port=8001
Copy Paster

Ejecutar el proyecto Laravel en localhost

When you clone the git repo you must follow these steps to run the project:

Create a Database locally
Rename .env.example file to .env inside your project root and fill the database information. (windows won't let you do it, so you have to open your console cd your project root directory and run mv .env.example .env )
Open the console and cd your project root directory
Run composer install
Run php artisan key:generate
Run php artisan migrate
Run php artisan db:seed to run seeders, if any.
Run php artisan serve
Now, your project will run. Good Luck!!
Dull Dingo

Cómo comenzar el compositor en el proyecto Laravel en localhost

php artisan serve
  // The original answer is:
  /* 
  The full command works like this:

php artisan serve --host=<host IP address> --port=<port to use>

php artisan serve --host=127.0.0.1 --port=8080
  */
Misty Macaw

Ejecutar el proyecto Laravel en localhost


When you clone the git repo you must follow these steps to run the project:

Create a Database locally
Rename .env.example file to .env inside your project root and fill the database information. (windows won't let you do it, so you have to open your console cd your project root directory and run mv .env.example .env )
Open the console and cd your project root directory
Run composer install
Run php artisan key:generate
Run php artisan migrate
Run php artisan db:seed to run seeders, if any.
Run php artisan serve
Now, your project will run. Good Luck!!
Dull Dingo

Respuestas similares a “Ejecutar el proyecto Laravel en localhost”

Preguntas similares a “Ejecutar el proyecto Laravel en localhost”

Más respuestas relacionadas con “Ejecutar el proyecto Laravel en localhost” en PHP

Explore las respuestas de código populares por idioma

Explorar otros lenguajes de código