Create and run the Laravel application
Make sure that you have installed all the necessary tools.
if not please visit here first and complete the setup environment.
Step 1. Open Linux Terminal
open ubantu terminal in your window os
Step 2. Create new Laravel project
curl -s https://laravel.build/first-app | bash
Step 3. Move to the project folder
cd first-app
cd first-app
Step 4. Open the project in vscode
code .
Step 5. Now phpmyadmin in docker-compose.yml
phpmyadmin:
depends_on:
- mysql
image: phpmyadmin/phpmyadmin
environment:
- PMA_HOST=mysql
- PMA_PORT=3306
networks:
- sail
ports:
- 8001:80
Step 6. Run sail command in terminal to up system live
./vendor/bin/sail up
code .
0 Comments