Skip to content

Commit

Permalink
feat: add more instructions in readme (#379)
Browse files Browse the repository at this point in the history
Signed-off-by: Товарищ <2962928213@qq.com>
  • Loading branch information
ComradeProgrammer committed Dec 18, 2021
1 parent 3355f86 commit 822ad14
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ We provide two start up methods for all kinds of users.
### Manual

#### Simple configuration
Casdoor requires a running Relational database to be operational.Thus you need to modify configuration to point out the location of database.

Edit `conf/app.conf`, modify `dataSourceName` to correct database info, which follows this format:

Expand Down Expand Up @@ -119,8 +120,9 @@ go build main.go && sudo ./main
This method requires [docker](https://docs.docker.com/get-docker/) and [docker-compose](https://docs.docker.com/compose/install/) to be installed first.

#### Simple configuration
For the convenience of your first attempt, docker-compose.yml contains commands to start a database via docker.

Edit `conf/app.conf`, modify `dataSourceName` to the fixed content:
Thus edit `conf/app.conf` to point out the location of database(db:3306), modify `dataSourceName` to the fixed content:

```bash
dataSourceName = root:123456@tcp(db:3306)/
Expand Down Expand Up @@ -158,7 +160,7 @@ These all use casdoor as a centralized authentication platform.

## Contribute

For casdoor, if you have any questions, you can give Issues, and you can also directly Pull Requests(but we recommend give issues first to communicate with the community).
For casdoor, if you have any questions, you can give Issues, or you can also directly start Pull Requests(but we recommend giving issues first to communicate with the community).

### I18n notice

Expand Down

0 comments on commit 822ad14

Please sign in to comment.