Skip to content

Commit

Permalink
Merge pull request #41 from Juesto/patch-2
Browse files Browse the repository at this point in the history
docs: command to persist database
  • Loading branch information
fitztrev authored Dec 10, 2023
2 parents 5a80885 + dc829b6 commit fc23995
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
command/.cargo
command/repos
command/target
database

settings.env
settings.toml
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,14 @@ docker compose run --rm ui /lila/bin/trans-dump
./lila-docker format
```
### Optional: Make the database persistent
```bash
docker compose cp mongodb:/data/db ./database
```
Then in `docker-compose.yml`add `- ./database:/data/db` to mongodb volumes
### Berserk (Python library):
To install the development version of [Berserk](https://github.com/lichess-org/berserk) and run a sample script against your local development site:
Expand Down

0 comments on commit fc23995

Please sign in to comment.