Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

axis-sato/docker-laravel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-laravel

Laravel environment on docker.

Support

Installation

1. Add docker-laravel as a submodule

Add docker-laravel as a submodule in your project.

$ cd YOUR_PRJECT
$ git submodule add git@github.com:c8112002/docker-laravel.git docker

Usage

1. Setup .env

Copy env-exaple as .env.

$ cp env-example .env

Then, edit .env for your environment.

2. Build and run containers

$ docker-compose up -d

3. Create a laravel project

$ sh scripts/dev.sh create-project

4. Configure your laravel project if necessary

Edit the configuration files shown below according to your environment.

  • APP_NAME/.env
  • APP_NAME/config/*.php

See the official laravel website if you want to know how to configuration more.

5. Watch assets for changes

$ sh scripts/dev.sh watch

About

Laravel environment on docker.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.