hyperkitty installation: Unclear instructions
Dear all,
I just installed mailman and mailman3-web in virtualenv as described in https://docs.mailman3.org/en/latest/install/virtualenv.html
Next I moved on to set up hyperkitty as described in https://docs.mailman3.org/projects/hyperkitty/en/latest/install.html. I got confused by the instructions:
"Install the code
Install the HyperKitty package and its dependencies with the following commands:
sudo python setup.py install"
Obviously this is a python script in a package that has to be downloaded from somewhere. Why? Doesn't the command
pip install mailman-web mailman-hyperkitty
already do the job?
Apparently, there is a second way of installing hyperkitty, using virtualenv, where you have to check out the code from gitlab and install from there. However, this still doesn't look right, as hyperkitty apparently can also be installed through
pip install hyperkitty
But then, hyperkitty seems to be already have been pulled in by mailman-web, looking at its dependencies.
If that's the case, then neither the instructions at https://docs.mailman3.org/projects/hyperkitty/en/latest/install.html nor those at https://docs.mailman3.org/projects/hyperkitty/en/latest/development.html are correct.
Can someone enlighten me on what the canonical way is of installing and setting it up in virtualenv?
Thanks a lot in advance!
Johannes
On 1/5/23 15:00, Johannes Rohr wrote:
Dear all,
I just installed mailman and mailman3-web in virtualenv as described in https://docs.mailman3.org/en/latest/install/virtualenv.html
Next I moved on to set up hyperkitty as described in https://docs.mailman3.org/projects/hyperkitty/en/latest/install.html. I got confused by the instructions:
You are confused because you are mixing incompatible ways of installation. Installing mailman-web per https://docs.mailman3.org/en/latest/install/virtualenv.html#installing-web-u... installs both HyperKitty an Postorius as dependencies of mailman-web.
But then, hyperkitty seems to be already have been pulled in by mailman-web, looking at its dependencies.
Yes.
If that's the case, then neither the instructions at https://docs.mailman3.org/projects/hyperkitty/en/latest/install.html nor those at https://docs.mailman3.org/projects/hyperkitty/en/latest/development.html are correct.
They are correct, but they are for different methods of installation.
Can someone enlighten me on what the canonical way is of installing and setting it up in virtualenv?
Just follow the instructions at <https://docs.mailman3.org/en/latest/install/virtualenv.html>. They are the current recommendation and will result in a complete installation.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Am 06.01.23 um 00:23 schrieb Mark Sapiro:
Just follow the instructions at <https://docs.mailman3.org/en/latest/install/virtualenv.html>. They are the current recommendation and will result in a complete installation.
Thanks! But hyperkitty still has to be configured in order to work, doesn't it? Where are the instructions that are compatible with the virtualenv installation method?
Thanks!
Johannes
On 1/5/23 15:40, Johannes Rohr wrote:
Thanks! But hyperkitty still has to be configured in order to work, doesn't it? Where are the instructions that are compatible with the virtualenv installation method?
https://docs.mailman3.org/en/latest/install/virtualenv.html#initial-configur...
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Thanks. But can you tell me where the manage.py is that is needed for the import command mentioned here?
https://docs.mailman3.org/en/latest/migration.html
python manage.py hyperkitty_import -lfoo-list@example.com $var_prefix/archives/private/foo-list.mbox/foo-list.mbox
Thanks!
Johannes
Am 06.01.23 um 00:48 schrieb Mark Sapiro:
On 1/5/23 15:40, Johannes Rohr wrote:
Thanks! But hyperkitty still has to be configured in order to work, doesn't it? Where are the instructions that are compatible with the virtualenv installation method?
https://docs.mailman3.org/en/latest/install/virtualenv.html#initial-configur...
On 1/5/23 16:08, Johannes Rohr wrote:
Thanks. But can you tell me where the manage.py is that is needed for the import command mentioned here?
https://docs.mailman3.org/en/latest/migration.html
python manage.py hyperkitty_import -lfoo-list@example.com
$var_prefix/archives/private/foo-list.mbox/foo-list.mbox
When you follow the virtualenv install the Django management command is
named mailman-web
. This is shown for example at
https://docs.mailman3.org/en/latest/install/virtualenv.html#run-database-mig...
and the next few sections. For importing archives, it would be, with the
venv active, e.g.
(venv)$ mailman-web hyperkitty_import -lfoo-list@example.com
$var_prefix/archives/private/foo-list.mbox/foo-list.mbox
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Am 06.01.23 um 01:22 schrieb Mark Sapiro:
When you follow the virtualenv install the Django management command is named
mailman-web
. This is shown for example at https://docs.mailman3.org/en/latest/install/virtualenv.html#run-database-mig... and the next few sections. For importing archives, it would be, with the venv active, e.g.(venv)$ mailman-web hyperkitty_import -lfoo-list@example.com $var_prefix/archives/private/foo-list.mbox/foo-list.mbox
Thank you so much!
Johannes
participants (2)
-
Johannes Rohr
-
Mark Sapiro