Replies: 5 comments 1 reply
-
|
Hi, I think to take the migrate command is a good starting point. You basically only need to create directories with JSON files for each page. The language doesn't really matter much. It can be an external tool written in Python in case you feel more familiar that way. |
Beta Was this translation helpful? Give feedback.
-
|
I've almost finished my migration tool. I have successfully migrated my grav site into Automad2. Now I am testing a migration from Gallery2. Would you like to included into your automad distribution? It is written in Python. |
Beta Was this translation helpful? Give feedback.
-
|
Great to see it is working for you! However, it is not possible to include it into the distribution. Check out the main readme of the source repository for more info about contributing. But publishing it as a separate tool would be nice! |
Beta Was this translation helpful? Give feedback.
-
|
Here it is https://gitlab.com/av.m/automad2-migration-tool |
Beta Was this translation helpful? Give feedback.
-
|
As of today I have successfully migrated all my Grav posts and around 500 pages generated from G2. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have 2 existing sites on different CMS that I want to migrate to Automad2. I can extract text blocks and images so it will be structurally similar to Automad's blocks:
What kind of process would allow me to create Automad2 data file from it? I think about leveraging existing Migrate command but with more options like source dir and target dir. Also I am not sure if it will override any global settings. I want just add pages to the existing fully configured site and don't touch anything else. Also migrating galleries is a must have feature for me, because my sites have a lot of images.
Could you guide me on the best way to write a migration script for it? I can do it in PHP and it can be part of the product, or externally in python. Would like to understand which way will be easier.
Beta Was this translation helpful? Give feedback.
All reactions