mirror of
https://github.com/gogs/gogs.git
synced 2025-07-15 00:29:19 +00:00
Updated Configuration and run (markdown)
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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user