Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

Commit

Permalink
Merge pull request #38 from LesyaBerest/master
Browse files Browse the repository at this point in the history
renaming .env-example to .env
  • Loading branch information
aprokopenko authored Sep 20, 2018
2 parents ede32a3 + f3dc10e commit 49c3ad7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ Instead you can accept different parameters from server environment with `env()`
Server environment variables can be set through web server vhost configuration, .htaccess file,
or .env file in project root (the simplest option).

To start using the project template copy .env-example as .env in the project root and setup it.
To start using the project template copy .env.example as .env in the project root and setup it.

### Web
Copy `/public/.htaccess-example` as `/public/.htaccess` to enable pretty URLs support and cache/expire
Copy `/public/.htaccess.example` as `/public/.htaccess` to enable pretty URLs support and cache/expire
tokens required by Google PageSpeed Insights test.

Furthermore you should check such options inside .env:
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"vlucas/phpdotenv": "~2.2",
"dmstr/yii2-adminlte-asset": "~2.6",
"justcoded/yii2-settings": "*",
"justcoded/yii2-rbac": "*"
"justcoded/yii2-rbac": "*",
"justcoded/dotenv-sync": "*"
},
"require-dev": {
"yiisoft/yii2-debug": "~2.0.0",
Expand Down
File renamed without changes.

0 comments on commit 49c3ad7

Please sign in to comment.