From d5a612aa4769925b928eb905db2fd349554e7ac3 Mon Sep 17 00:00:00 2001 From: Arco Mul Date: Wed, 29 Dec 2021 09:21:26 +0100 Subject: [PATCH 1/2] Update README: add development instructions --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index f0cec14..b5751a4 100644 --- a/README.md +++ b/README.md @@ -111,3 +111,13 @@ If you would like to help in any of these or other ways, thank you! Please join our [Matrix chat server](https://matrix.to/#/#mwmbl:matrix.org) or email the main author (email address is in the git commit history). + +Development +=========== + +Using Docker: + +1. Create a new folder called `data` in the root of the repository +2. Download the [index file](https://storage.googleapis.com/mwmbl/index.tinysearch) and place it the new data folder +3. Run `$ docker build . -t mwmbl` +4. Run `$ docker run -p 8080:8080 mwmbl` \ No newline at end of file From b6c1630953f7bf03a2a0ae9edddaad05f9f77974 Mon Sep 17 00:00:00 2001 From: Arco Mul Date: Wed, 29 Dec 2021 09:21:57 +0100 Subject: [PATCH 2/2] Update .gitignore: fix ignoroing data folder in root of repository --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index a33dbf8..451cbea 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -./data +/data .idea *~