Skip to content

Commit

Permalink
Update for FerretDB 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekSi committed Apr 12, 2023
1 parent 07eec06 commit 39e5dfc
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,25 @@ $ git clone https://github.com/FerretDB/example.git
$ cd example
$ docker-compose pull
$ docker compose pull
$ docker-compose up
$ docker compose up
```

Note: if you are updating from the previous version, run:

```
$ docker-compose down
$ docker compose down
$ docker system prune --volumes --force
$ rm -fr data
```

Then open [http://localhost:8888/](http://localhost:8888/) and use that example application.

If you have a recent enough `mongosh`, you can use to connect to FerretDB. For example:
[![asciicast](https://asciinema.org/a/BhBD85JpeLPHrSdyL1jzNFkFq.svg)](https://asciinema.org/a/BhBD85JpeLPHrSdyL1jzNFkFq)
If you have `mongosh`, you can use it to connect to FerretDB. For example:
[![asciicast](https://asciinema.org/a/577061.svg)](https://asciinema.org/a/577061)

You can see data in PostgreSQL using `psql`. For example:
[![asciicast](https://asciinema.org/a/RgCtFAxvkkp26YRBO6FPSpEUJ.svg)](https://asciinema.org/a/RgCtFAxvkkp26YRBO6FPSpEUJ)
[![asciicast](https://asciinema.org/a/577073.svg)](https://asciinema.org/a/577073)

0 comments on commit 39e5dfc

Please sign in to comment.