From bfa670b8b102a5aab60cff99d1e54fbba21da0b2 Mon Sep 17 00:00:00 2001 From: Barry Deen Date: Mon, 23 Sep 2024 16:30:25 -0400 Subject: [PATCH] update readme, delete haven folder --- README.md | 12 +++++------- haven/.gitignore | 2 -- 2 files changed, 5 insertions(+), 9 deletions(-) delete mode 100644 haven/.gitignore diff --git a/README.md b/README.md index 5178538..0f54ba1 100644 --- a/README.md +++ b/README.md @@ -53,12 +53,13 @@ cp .env.example .env Open the `.env` file and set the necessary environment variables. If you want to use custom relay files for import and blastr, you can specify IMPORT_SEED_RELAYS_FILE and BLASTR_RELAYS_FILE in the .env file. First, copy the example JSON files: - + ```bash cp relays_import.example.json relays_import.json ``` + ```bash -cp blastr_relays.example.json blastr_relays.json +cp relays_blastr.example.json relays_blastr.json ``` Then, set the paths to the files in the .env file: @@ -71,10 +72,7 @@ BLASTR_RELAYS_FILE=blastr_relays.json The JSON should contain an array of relay URLs (without ws:// or wss://): ```json -[ - "relay.damus.io", - "nos.lol", -] +["relay.damus.io", "nos.lol"] ``` ### 4. Build the project @@ -201,7 +199,7 @@ To start the project using Docker Compose, follow these steps: 1. Ensure Docker and Docker Compose are installed on your system. 2. Navigate to the project directory. -3. Ensure the `.env` file is present in the project directory and has the necessary environment variables set. +3. Ensure the `.env` file is present in the project directory and has the necessary environment variables set. 4. You can also change the paths of the `db` folder and `haven` folder in the `docker-compose.yml` file. ```yaml diff --git a/haven/.gitignore b/haven/.gitignore deleted file mode 100644 index d6b7ef3..0000000 --- a/haven/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -* -!.gitignore