Answered by : ankur-prajapati
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
Source : | Last Update : Wed, 08 Jul 20
Answered by : zelalem
php artisan serv
Source : https://www.techomoro.com/install-and-setup-laravel-on-windows-using-xampp/ | Last Update : Wed, 02 Feb 22
Answered by : saad-rehman
Download composer
Pull Laravel/php project from git provider.
Rename .env.example file to .env inside your project root and fill the database information. (windows wont 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 or php composer.phar install
Run php artisan key:generate
Run php artisan migrate
Run php artisan db:seed to run seeders, if any.
Run php artisan serve
#####You can now access your project at localhost:8000 :)
Source : | Last Update : Fri, 01 Sep 23
Answered by : hungry-hare-hre36ftr711q
1. composer update --no-scripts or composer install 2. php artisan key:generate 3. rename example.env to .env 4. Change database credentials, set debug mode! Change app url 4. php artisan migrate(make sure u have the database running in the server) 5. php artisan config:clear 6. you are good to go!
Source : https://stackoverflow.com/questions/47733906/how-to-run-a-laravel-application-that-was-not-created-by-me-on-my-personal-serve | Last Update : Thu, 17 Dec 20
Answered by : easy-echidna-hd1h8qxrrk0l
// run laravel project
php artisan serve --port="port" --host="host"
Source : | Last Update : Sun, 13 Dec 20
Answered by : misty-macaw-0ll7luxiq0wg
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 */
Source : | Last Update : Sat, 22 Aug 20
Answered by : delvin
php artisan serve // will use localhost and 8000 port by default
Source : https://www.cloudways.com/blog/custom-artisan-commands-laravel/ | Last Update : Fri, 17 Jun 22
Answered by : code-grepper
{"tags":[{"tag":"p","content":"You have reached your max daily Grepper answers. <a href=\"https://www.grepper.com/subscriptions.php\" target=\"_blank\" rel=\"nofollow\">Upgrade to professional </a>to view more Grepper answer today."},{"tag":"p","content":"<a href=\"https://www.grepper.com/api/view_product.php?hl=1&pid=42\" target=\"_blank\" rel=\"nofollow\">Upgrade To Grepper Professional</a>"}]}
Source : | Last Update : Mon, 27 Mar 23