Dockerを使用したLaravelプロジェクトの開発(実行)環境です。
このリポジトリから流用です。
laradockって名前にしてたんですけどすでに存在してたんですね。 名前変更しました。
コンテナのworkdir
直下にlaravelプロジェクトを作成します。
$ docker-compose run composer create-project laravel/laravel .
リポジトリ直下の.env
ファイルで出力先を変更してください。
下記を変更することで指定した出力先にlaravelプロジェクトを作成することができます。
※出力先ディレクトリが存在しないとエラーになります。
.env
SRCDIR=~/work/laravel-app-sample
yamllintを導入しているのでその環境を使用してください。
下記の手順でgit commit
時にlintが走ります。
$ git clone [email protected]:Lycheejam/laradock.git
$ cd laradock
$ python -m venv .venv
$ source .venv/bin/activate
pip install -r requirements.txt
pre-commit install
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.