Here's a thread where I helped someone else with the process on windows: https://lemmy.sdf.org/comment/1420339
The steps are:
- Set up the python code
- Go to https://github.com/wescode/lemmy_migrate/releases/tag/v1.1.0
- Download the zip file
- Extract the zip file, to make a folder somewhere on your system called lemmy_migrate-1.1.0. Remember where this folder is
- Inside the folder you will find a file called
config.ini. Use notepad to edit the file to have your server URL and login credentials.
- Set up the python interpreter
- Install python from https://www.python.org/downloads/
- Open powershell
- install the python package requests by pasting the following command into powershell:
py -m pip install --user requests
- Use the python interpreter to interpret your python
- first make sure powershell is looking at the correct folder. One way to do this is to open the lemmy_migrate-1.1.0 folder in windows explorer. right click on the box that shows you the path, and copy the text. then write
cdin powershell. This path will very likely be something likeC:\\Users\Wu9fee\Downloads\lemmy_migrate-1.1.0. If you don't want to copy and paste the path from explorer, you can just docd Downloadsthencd lemmy_migrate-1.1.0 - Finaly, you can run the python command with
py lemmy-migrate.py -c config.ini
- first make sure powershell is looking at the correct folder. One way to do this is to open the lemmy_migrate-1.1.0 folder in windows explorer. right click on the box that shows you the path, and copy the text. then write
Let me know if you run into any problems.
If you can pull this off, you can officially say you know how to code.