2017 © Pedro Peláez
 

library laragoon

The Laragoon utility package

image

bryangruneberg/laragoon

The Laragoon utility package

  • Tuesday, July 24, 2018
  • by bryangruneberg
  • Repository
  • 0 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Laragoon

Introduction

This package provides a simple way to run a Laravel app on the wonderful amazee.io Lagoon infrastructure., (*1)

The package consists of a few components: - Several Dockerfiles to run a basic Laravel app - A set of default configuration overrides for the containers - A console command that dumps the database stanza to enable a connection to the Lagoon database container - A console command that will update your .lagoon.yml and docker-compose.yml with a project name you provide - A service provider which - Makes the Dockerfiles, the configuration files, and severl supporting files publishable - Looks for a Lagoon environment and overloads an environment specific config file if found, (*2)

Requirements

This package is supported on Laravel 5.5 and above., (*3)

It is assumed that you have amazee.io's Lagoon requirements already installed. See http://lagoon.rtfd.io/ for details., (*4)

It is assumed that you have a Laravel app already running., (*5)

Installation

composer require bryangruneberg/laragoon, (*6)

Configuration

To publish the laragoon configuration run: php artisan vendor:publish --tag=laragoon-config, (*7)

To publish the laragoon database configuration run: php artisan vendor:publish --tag=laragoon-db-config. But be careful, the /config/database.php that comes with Laravel will prevent the laragoon configuration from writing. You can choose to force the operation by appending the --force option to the command. Alternatively run php artisan laragoon:db-config to have a database stanza outputted to the console., (*8)

To publish Docker and Lagoon files for php-7.1 run: php artisan vendor:publish --tag=laragoon-lagoon-php-7.1, (*9)

To publish Docker and Lagoon files for php-7.2 run: php artisan vendor:publish --tag=laragoon-lagoon-php-7.2, (*10)

To publish Docker and Lagoon files for php-7.3 run: php artisan vendor:publish --tag=laragoon-lagoon-php-7.3, (*11)

To publish Docker and Lagoon files for php-7.4 run: php artisan vendor:publish --tag=laragoon-lagoon-php-7.4, (*12)

To publish helpful artisan scripts run: php artisan vendor:publish --tag=laragoon-scripts, (*13)

Finally, to set your Lagoon project name, run php artisan laragoon:set-project-name and follow the prompts., (*14)

You can go ahead and customize the Dockerfiles, .lagoon.yml, and docker-compose.yml. If you want to retrieve the original files, you can rerun the vendor:publish commands, appending the --force option to force an overwrite., (*15)

Running

Once configured, you can run docker-compose build to have docker-compose build your environment. Once built you can run docker-compose up to have the environment spin up. Append the -d flag to have the containers run in the background., (*16)

The Versions

24/07 2018

dev-master

9999999-dev https://laragoon.io

The Laragoon utility package

  Sources   Download

MIT

The Requires

  • php >=5.6.4

 

by Bryan Gruneberg
by Blaize Kaye

laravel console docker deploy devops amazee amazee.io lagoon

21/07 2018

0.2

0.2.0.0 https://laragoon.io

The Laragoon utility package

  Sources   Download

MIT

The Requires

  • php >=7.1.3

 

by Bryan Gruneberg
by Blaize Kaye

laravel console docker deploy devops amazee amazee.io lagoon

21/07 2018

0.1

0.1.0.0 https://laragoon.io

The Laragoon utility package

  Sources   Download

MIT

The Requires

  • php >=7.1.3

 

by Bryan Gruneberg
by Blaize Kaye

laravel console docker deploy devops amazee amazee.io lagoon