Giter Site home page Giter Site logo

laravel-lumen-docker's Introduction

"Buy Me A Coffee" Thanks in advance if you want to offer me a coffee :-)

laravel-lumen-docker

Laravel, Lumen platform dockerization

Start environment

To start docker environment, you must install Docker and digit this command in your favorite terminal:

make docker-start

When the process finished you can open your browser and digit http://localhost:8181 to se you app works!

Stop environment

To stop your environment you must digit this command in your favorite terminal:

make docker-stop

Customization

Currently in the "lumen" folder you will find the dist 8.X of Lumen but if you want to customize the dist or use Laravel you can manually configure the docker-compose.yml file indicating where the code of your app resides

Debugger

If you use PhpStorm you must configure your IDE:

  • open Preferences | Languages & Frameworks | PHP | Servers
  • add new server named localhost
  • set host to localhost
  • set port to 8181
  • enable use path mapping
  • configure your absolute path
  • your Lumen/Laravel app root => /var/www
  • your Lumen/Laravel app /app root => /var/www/app
  • your Lumen/Laravel app /public root => /var/www/public
  • open Preferences | Languages & Frameworks | PHP => CLI interpreter
  • add new CLI from Docker => docker_php:latest

laravel-lumen-docker's People

Contributors

pacoogle avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.