sebbASF commented on code in PR #261:
URL: 
https://github.com/apache/incubator-ponymail-foal/pull/261#discussion_r1664882768


##########
DOCKER.md:
##########
@@ -1,7 +1,7 @@
 Docker execution instructions
 =============================
 
-These are initial instructions; so far only tested on macOS (M1)
+These are initial instructions; so far, they have only tested on macOS (M1)

Review Comment:
   have only => have only been



##########
DOCKER.md:
##########
@@ -61,10 +61,31 @@ $ python3 setup.py --devel
 
 You can then use archiver.py or import-mbox.py to populate the database.
 
+Importing mbox files for testing
+================================
+
+To test existing mbox files, you can use the import-mbox.py script.
+You can download a publicly available file using this link:
+
+```
+mkdir mbox-testdata
+cd mbox-testdata
+wget https://lists.apache.org/api/mbox.lua?list=dev&domain=community.apache.org
+cd ..
+```
+
+Then import it:
+
+```
+$ tools/import-mbox.py --source mbox-testdata/dev_community_apache_org.mbox
+```
+
+This will import the mbox file into the database.
+
 Start the Ponymail api server
 =============================
 
-Open a new terminal session, start a shell in the container:
+Open a new terminal session start a shell in the container:

Review Comment:
   session start => session. Start



##########
.gitignore:
##########
@@ -142,3 +142,4 @@ dmypy.json
 # Pipenv files
 Pipfile
 Pipfile.lock
+/elastic

Review Comment:
   I deliberately created the top-level directory and the README so it is 
obvious what this folder is for. The entry in .gitignore is not needed as the 
database files are excluded by other .gitignore files which act as placeholders.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@ponymail.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to