Skip to content

Commit

Permalink
docs: update development guide
Browse files Browse the repository at this point in the history
  • Loading branch information
insertish committed Jun 11, 2024
1 parent 8099310 commit d677716
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,29 @@ cp .env.example .env
# (optionally) copy the default configuration file
cp crates/core/config/Revolt.toml Revolt.toml
# configure as necessary...
```

You may want to copy the following configuration:

```toml
# Revolt.toml
[database]
mongodb = "mongodb://localhost"
redis = "redis://localhost"

[hosts]
app = "http://local.revolt.chat"
api = "http://local.revolt.chat:8000"
events = "ws://local.revolt.chat:9000"
autumn = "http://local.revolt.chat:3000"
january = "http://local.revolt.chat:7000"
voso_legacy = ""
voso_legacy_ws = ""
```

Then continue:

```bash
# start other necessary services
docker compose up -d

Expand Down

0 comments on commit d677716

Please sign in to comment.