https://github.com/thenets/easylaravel
The easiest way to setup a development environment for Laravel Framework.
https://github.com/thenets/easylaravel
Last synced: 5 months ago
JSON representation
The easiest way to setup a development environment for Laravel Framework.
- Host: GitHub
- URL: https://github.com/thenets/easylaravel
- Owner: thenets
- License: apache-2.0
- Created: 2017-09-09T01:18:57.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-09T05:15:02.000Z (almost 9 years ago)
- Last Synced: 2025-10-08T23:35:15.766Z (8 months ago)
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# EasyLaravel
The easiest way to setup a development environment for Laravel Framework.
## Requirements
You need the Docker.
```
curl -sSL https://get.docker.com | sudo sh
```
## 1. Laravel command-line interface
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
```
## 2. Start Server
```
docker run -v ~/myapp_dir/www:/app -p 8000:8000 --rm -it thenets/easylaravel php artisan serve
```