Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update README.md with local mongo setup changes #219

Merged
merged 3 commits into from
Feb 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ We require fully qualified schemas. You can find how the unqualified should be t
Start the database, you can use docker for that in the following way:

```sh
docker run --name mongo -p 4000:27017 -d mongo:6.0
docker compose up -d mongo mongo-replica-setup
```

You can change port but don't forget to update the `.env`.
Expand Down Expand Up @@ -116,7 +116,7 @@ cp .env.example .env.test
Start the database, you can use docker for that in the following way:

```sh
docker run --name mongo -p 4000:27017 -d mongo:6.0
docker compose up -d mongo mongo-replica-setup
```

Now, you can run tests:
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/.env.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PORT=3000
URL=http://localhost
FRONTEND_URL=http://localhost:3001
DB_CONNECTION_STRING=mongodb://localhost:4000?directConnection=true
DB_CONNECTION_STRING=mongodb://mongo:mongo@localhost:27017?directConnection=true
DB_NAME=test_registry
LOGGER_LOG_LEVEL=debug
LOGGER_OUTPUT_FORMAT=json
Expand Down
Loading