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

  • Done
  • quality assurance status badge
2 participants
  • Arun Isaac
  • Luis Felipe
Submitted by
Luis Felipe
Luis Felipe wrote on 30 May 23:09 +0200
(address . guix-patches@gnu.org)
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).
Luis Felipe López Acevedo
From 221d37de5e9ea5e79771cd61046eba750eae3feb Mon Sep 17 00:00:00 2001
From: Luis Felipe <sirgazil@zoho.com>
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(-)

Toggle diff (47 lines)
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
-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
-Finally, to start the mumi instance, run:
-#+begin_src shell
+ # 6. Start the mumi instance:
$ ./pre-inst-env mumi web
-You should now be able to visit http://localhost:1234 in your browser
+You should now be able to visit in your browser
and see your local mumi instance running.
** Disabling browser caching

base-commit: 99416ed5c7d950eaf54d52023a2efd975bccac92
Attachment: OpenPGP_signature
Arun Isaac wrote on 8 Jun 00:14 +0200
Re: [mumi] [PATCH] README.org: Update instructions to run mumi locally.
(address . 71281-done@debbugs.gnu.org)(name . Luis Felipe)(address . sirgazil@zoho.com)
Applied, thanks!

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

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 71281@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 71281
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch