Skip to content

Commit

Permalink
Add example .env file
Browse files Browse the repository at this point in the history
  • Loading branch information
GJFR committed Feb 10, 2024
1 parent db7cca6 commit 963c38f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
4 changes: 4 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
BCI_MONGO_HOST=
BCI_MONGO_USERNAME=
BCI_MONGO_DATABASE=
BCI_MONGO_PASSWORD=
11 changes: 2 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,9 @@ By default, BugHog uses a MongoDB container.
you might want to prefer all data to be stored on your own MongoDB instance.
If you prefer storing data in your own MongoDB instance, follow these steps:
1. Create a `.env` file in the BugHog root directory and add the following lines with the appropriate values:
1. Create a `.env` file from `.env.example` in the BugHog root directory and fill in the missing values.
```bash
bci_mongo_host=[ip_address_of_host]
bci_mongo_database=[database_name]
bci_mongo_username=[database_user]
bci_mongo_password=[database_password]
```
2. Rebuild BugHog after making these changes.
2. Rebuild BugHog and run it.
### Stopping
To stop BugHog, run the following command:
Expand Down

0 comments on commit 963c38f

Please sign in to comment.