Subject: bug#71281: closed (Re: [mumi] [PATCH] README.org: Update instructions to run mumi locally.)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 07 Jun 2024 22:16:02 +0000

Your bug report

#71281: [mumi] [PATCH] README.org: Update instructions to run mumi locally.

which was filed against the mumi package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
71281: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=71281
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [mumi] [PATCH] README.org: Update instructions to run mumi locally.
From: Arun Isaac <[email-masked]>
To: [email-masked]
Cc: Luis Felipe <[email-masked]>
Date: Fri, 07 Jun 2024 23:14:32 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Applied, thanks!

I made a small modification to the final `mumi web' command so that the
web server listens on localhost.

Subject: [mumi] [PATCH] README.org: Update instructions to run mumi locally.
From: Luis Felipe <[email-masked]>
To: [email-masked]
Date: Thu, 30 May 2024 21:09:13 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

The current instructions in the README don't seem to be enough to run mumi.

I'm attaching a patch with the instructions that worked for me (thanks 
to Felix Lechner for directions).

Cheers,

-- 
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/

From 221d37de5e9ea5e79771cd61046eba750eae3feb Mon Sep 17 00:00:00 2001
From: Luis Felipe <[email-masked]>
Date: Thu, 30 May 2024 15:47:26 -0500
Subject: [PATCH] README.org: Update instructions to run mumi locally.

* README.org (Running a local instance of mumi): Add missing steps and
update URL to local instance.
---
 README.org | 25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)

diff --git a/README.org b/README.org
index af0121f..970076e 100644
--- a/README.org
+++ b/README.org
@@ -14,25 +14,26 @@ run
 
 ** Running a local instance of mumi
 
-First copy some test mail data to be indexed:
+Run the following commands:
 
 #+begin_src shell
+  # 1. Copy some test mail data to be indexed:
   $ cp -a tests/data data
-#+end_src
-
-Then, to have these emails indexed, run:
-
-#+begin_src shell
+  # 2. Download Pico CSS:
+  $ wget -P /tmp/ https://github.com/picocss/pico/archive/refs/tags/v1.5.6.tar.gz
+  # 3. Add Pico CSS to mumi assets:
+  $ tar -xf /tmp/v1.5.6.tar.gz -C assets/pico/ --strip-components=1
+  # 4. Build mumi:
+  $ ./bootstrap.sh
+  $ ./configure
+  $ make
+  # 5. Have the test mail data indexed:
   $ ./pre-inst-env mumi fetch
-#+end_src
-
-Finally, to start the mumi instance, run:
-
-#+begin_src shell
+  # 6. Start the mumi instance:
   $ ./pre-inst-env mumi web
 #+end_src
 
-You should now be able to visit http://localhost:1234 in your browser
+You should now be able to visit http://0.0.0.0:1234/ in your browser
 and see your local mumi instance running.
 
 ** Disabling browser caching

base-commit: 99416ed5c7d950eaf54d52023a2efd975bccac92
-- 
2.41.0