Skip to content

heyjorgedev/docker-laravel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel with Docker

This image is a extension of the official laravel/laravel github repository but with the docker machine environment.

Usage

First Time Install

# This will setup file permissions for project
$ sh bin/init.sh

# Installs a new Laravel Instance
$ sh bin/install.sh

# Next we create the docker containers,
# run composer and the default migrations 
$ bin/setup.sh

Daily Usage

If you inspect the bin/ folder you'll find some scripts for the daily usage of the docker containers to interact with the project.

# Start Docker Containers
$ bin/start.sh

# Stop Docker Containers
$ bin/stop.sh

# Run Composer
$ bin/composer.sh

# Run Artisan
$ bin/artisan.sh

# Run PhpUnit
$ bin/phpunit.sh

# Run Yarn
$ bin/yarn.sh

# Access the Container Shell
$ bin/cli.sh

Releases

No releases published

Packages

No packages published