Updated Configuration and run (markdown)

无闻 2014-03-18 16:02:42 -07:00
parent c81d219c98
commit e5f7ee702b

@ -1,5 +1,24 @@
## Configuration
### Starter configuration(for just try)
Here is the minimal steps for starters(require **MySQL** and **git**):
1. Create file `custom/conf/app.ini`.
2. Add key `RUN_USER` and set value to yours.
3. Add key `database -> USER` and set value to your database user name.
4. Add key `database -> PASSWD` and set value to your database password(skip this if no password).
Sample starter configuration file:
```
RUN_USER = jiahuachen
[database]
USER = root
PASSWD = root
```
### Default configuration
The default configuration is saved in `conf/app.ini`, you do **NOT** need to edit it at all.