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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Rotua Panjaitan
yii2
Commits
4f164219
Commit
4f164219
authored
Jan 16, 2014
by
Luciano Baraglia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some Basic App readme updates [skip ci]
parent
3ff408b9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
README.md
apps/basic/README.md
+24
-0
No files found.
apps/basic/README.md
View file @
4f164219
...
@@ -12,11 +12,14 @@ features to your application.
...
@@ -12,11 +12,14 @@ features to your application.
DIRECTORY STRUCTURE
DIRECTORY STRUCTURE
-------------------
-------------------
assets/ contains assets definition
commands/ contains console commands (controllers)
commands/ contains console commands (controllers)
config/ contains application configurations
config/ contains application configurations
controllers/ contains Web controller classes
controllers/ contains Web controller classes
mails/ contains view files for e-mails
models/ contains model classes
models/ contains model classes
runtime/ contains files generated during runtime
runtime/ contains files generated during runtime
tests/ contains various tests for the basic application
vendor/ contains dependent 3rd-party packages
vendor/ contains dependent 3rd-party packages
views/ contains view files for the Web application
views/ contains view files for the Web application
web/ contains the entry script and Web resources
web/ contains the entry script and Web resources
...
@@ -62,3 +65,24 @@ directly under the Web root.
...
@@ -62,3 +65,24 @@ directly under the Web root.
http://localhost/basic/web/
http://localhost/basic/web/
~~~
~~~
CONFIGURATION
-------------
### Database
Edit the file
`config/db.php`
with real data, for example:
```
php
return
[
'class'
=>
'yii\db\Connection'
,
'dsn'
=>
'mysql:host=localhost;dbname=yii2basic'
,
'username'
=>
'root'
,
'password'
=>
'1234'
,
'charset'
=>
'utf8'
,
];
```
**NOTE:**
Yii won't create the database for you, this has to be done manually before you can access it.
Also check and edit the other files in the
`config/`
directory to customize your application.
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