From b30fda70a0efc242159d075943c81a219c289a77 Mon Sep 17 00:00:00 2001 From: tigerb <624661874@qq.com> Date: Sun, 14 May 2017 17:34:54 +0800 Subject: [PATCH] refactor(.env): add .env to .gitignore :wrench: --- .env => .env.example | 0 .gitignore | 2 +- README-CN.md | 1 + README.md | 1 + 4 files changed, 3 insertions(+), 1 deletion(-) rename .env => .env.example (100%) diff --git a/.env b/.env.example similarity index 100% rename from .env rename to .env.example diff --git a/.gitignore b/.gitignore index 3b95611..e844902 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ vendor -.env.prod +.env node_modules diff --git a/README-CN.md b/README-CN.md index 4ff8331..6b60c2b 100644 --- a/README-CN.md +++ b/README-CN.md @@ -607,6 +607,7 @@ require('runtime/build/App.20170505085503.phar'); 执行: - composer install +- cp .env.example .env - chmod -R 777 runtime **网站服务模式:** diff --git a/README.md b/README.md index 0016fd0..3c88d7c 100644 --- a/README.md +++ b/README.md @@ -604,6 +604,7 @@ require('runtime/build/App.20170505085503.phar'); Run: - composer install +- cp .env.example .env - chmod -R 777 runtime **Web Server Mode:**