WhatsApp Food
Search…
Run local
In Laravel 8, there is a new package available called https://laravel.com/docs/8.x/sail.
We use this to run the site locally and test it.

Step 1 - Install Docker

All you need is to install https://www.docker.com/ on your computer.
After that extract the code and open it in the Terminal / Command prompt
1
cd poslion
2
./vendor/bin/sail up
Copied!
The first time you run this can take some time

Step 2 - Install via CMD

After sail is running, open a new terminal window and navigate to the project.
execute
1
sail artisan migrate --fresh --seed
Copied!
This will set up ( seed ) the database.
Then execute / run
1
cd storage
2
touch installed
Copied!
This should create an empty file in storage folder, to let the system know that the project is installed. Then open the site on localhost.
You should see the site now
Login with the default credentials
Password: secret
Last modified 11h ago