Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork6
codebygina/docker-laravel-starter
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Basic Laravel setup with Docker:
- MySQL
- PHPMyAdmin
- NGINX
- Composer
- Voyager Admin
git clone https://github.com/wowthemesnet/docker-laravel-starter.git
cd docker-laravel-starter
On Linux/MacOS:docker run --rm -v $(pwd):/app composer install
On Windows in PowerShell:docker run --rm -v ${PWD}:/app composer install
On Windows in CMD:docker run --rm -v %cd%:/app composer install
cp .env.example .env
docker-compose up
docker-compose exec app php artisan key:generate
Enter onhttp://localhost
- run migrations:
docker-compose exec app php artisan migrate - access db PhpMyAdmin:http://localhost:7000
run the following to install Voyager Admin:
On Linux/MacOS:
docker run --rm -v $(pwd):/app composer require tcg/voyager
On Windows in PowerShell:docker run --rm -v ${PWD}:/app composer require tcg/voyager
On Windows in CMD:docker run --rm -v %cd%:/app composer require tcg/voyagerdocker-compose exec app php artisan voyager:install --with-dummydocker-compose exec app php artisan vendor:publish --provider="TCG\Voyager\VoyagerServiceProvider"docker-compose exec app php artisan vendor:publish --provider="Intervention\Image\ImageServiceProviderLaravel5"Access Voyager account:http://localhost/admin
User:admin@admin.comPass: password
- Credits and many thanks toAngCosmin
- Source:DigitalOcean Community
About
Basic Laravel setup with Docker - MySQL, PHPMyAdmin, NGINX, Composer, Voyager admin
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
Uh oh!
There was an error while loading.Please reload this page.