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
c98d1fb9
Commit
c98d1fb9
authored
Jan 08, 2014
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjusted advanced application template docs to reflect DB config movement
parent
0f87c990
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
10 deletions
+8
-10
README.md
apps/advanced/README.md
+5
-6
apps-advanced.md
docs/guide/apps-advanced.md
+3
-4
No files found.
apps/advanced/README.md
View file @
c98d1fb9
...
...
@@ -81,10 +81,9 @@ After you install the application, you have to conduct the following steps to in
the installed application. You only need to do these once for all.
1.
Run command
`init`
to initialize the application with a specific environment.
2.
Create a new database and adjust the
`components.db`
configuration in
`common/config/params.php`
accordingly.
3.
Run command
`yii migrate`
to apply DB migrations.
2.
Create a new database and adjust the
`components.db`
configuration in
`common/config/params-local.php`
accordingly.
3.
Apply migrations with console command
`yii migrate`
.
4.
Set document roots of your Web server:
Now you should be able to access:
-
the frontend using the URL
`http://localhost/advanced/frontend/web/`
-
the backend using the URL
`http://localhost/advanced/backend/web/`
-
for frontend
`/path/to/yii-application/frontend/web/`
and using the URL
`http://frontend/`
-
for backend
`/path/to/yii-application/backend/web/`
and using the URL
`http://backend/`
docs/guide/apps-advanced.md
View file @
c98d1fb9
...
...
@@ -33,10 +33,9 @@ the installed application. You only need to do these once for all.
---
php /path/to/yii-application/init
---
2.
Create a new database. It is assumed that MySQL InnoDB is used. If not, adjust
`console/migrations/m130524_201442_init.php`
.
3.
In
`common/config/params.php`
set your database details in
`components.db`
values.
4.
Apply migrations with console command 'yii migrate'.
5.
Set document roots of your Web server:
2.
Create a new database and adjust the
`components.db`
configuration in
`common/config/params-local.php`
accordingly.
3.
Apply migrations with console command
`yii migrate`
.
4.
Set document roots of your Web server:
-
for frontend
`/path/to/yii-application/frontend/web/`
and using the URL
`http://frontend/`
-
for backend
`/path/to/yii-application/backend/web/`
and using the URL
`http://backend/`
...
...
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