The easiest way to setup a development environment for Laravel Framework.
262
The easiest way to setup a development environment for Laravel Framework.
You need the Docker.
curl -sSL https://get.docker.com | sudo sh
Create your application dir. Change ~/myapp_dir/www for your Laravel application dir.
mkdir -p ~/myapp_dir/www
sudo chown -R 1000.1000 ~/myapp_dir/www
Enter on container with Laravel CLI and create an new project.
docker run -v ~/myapp_dir/www:/app -p 8000:8000 --rm -it thenets/easylaravel /bin/bash
composer global require "laravel/installer"
laravel new blog
docker run -v ~/myapp_dir/www:/app -p 8000:8000 --rm -it thenets/easylaravel php artisan serve
Content type
Image
Digest
Size
127 MB
Last updated
about 9 years ago
docker pull thenets/easylaravel