where is manage.py for migration?
Hello,
I am following https://docs.mailman3.org/en/latest/migration.html and I'm trying to "Migrate the list archives from Mailman 2 to Mailman 3 by running the following command":
[mailman@mailman ~]$ python manage.py hyperkitty_import -l biking@lists.example.org /usr/local/mailman/archives/private/biking.mbox python: can't open file 'manage.py': [Errno 2] No such file or directory
Is the documentation correct? I cannot locate manage.py in the code:
$ git clone https://gitlab.com/mailman/mailman.git Cloning into 'mailman'... ... $ cd mailman/ $ find . -name manage.py $
Am I doing this wrong?
Thank you.
-- Dan Langille dan@langille.org
On 11/26/20 6:50 AM, Dan Langille wrote:
Hello,
I am following https://docs.mailman3.org/en/latest/migration.html and I'm trying to "Migrate the list archives from Mailman 2 to Mailman 3 by running the following command":
[mailman@mailman ~]$ python manage.py hyperkitty_import -l biking@lists.example.org /usr/local/mailman/archives/private/biking.mbox python: can't open file 'manage.py': [Errno 2] No such file or directory
Is the documentation correct? I cannot locate manage.py in the code:
That refers to the Django manage.py script. It's name and location depends on how you installed Postorius and HyperKitty. Have you installed those and set up a Django project?
There are sample manage.py files in both postorius/example_project/ and hyperkitty/example_project/ as well as mailman-suite/mailman-suite_project/, however, depending on how things are installed, the Django admin interface could be named manage.py, django-admin or something else.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Dan Langille
-
Mark Sapiro