Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
a87179e1
Commit
a87179e1
authored
Jan 11, 2015
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #5685: a bit more clarification about advanced app environments for the docs
parent
174843a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
tutorial-advanced-app.md
docs/guide/tutorial-advanced-app.md
+3
-0
No files found.
docs/guide/tutorial-advanced-app.md
View file @
a87179e1
...
...
@@ -144,6 +144,9 @@ In order to solve these issues Yii introduces a simple environments concept. Eac
by a set of files under the
`environments`
directory. The
`init`
command is used to switch between these. What it really does is
copy everything from the environment directory over to the root directory where all applications are.
By default there are two environments:
`dev`
and
`prod`
. First is for development. It has all the developer tools
and debug turned on. Second is for server deployments. It has debug and developer tools turned off.
Typically environment contains application bootstrap files such as
`index.php`
and config files suffixed with
`-local.php`
. These are added to
`.gitignore`
and never added to source code repository.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment