This is a very rough migrator, which has been used so far with https://forum.jardiniersdunous.org
Below are some instructions on how to make it work. Use at your own risk ! ;)
Copy the .env
file to .env.local
and setup your keys and URLs.
In your Discourse instance, go to the Parameters > Rate limits, and remove as many limits as possible (otherwise you will not be able to import many data).
yarn install
yarn run dev
If you want to show the user's location, you will need to install the Location plugin
call space.freshImport
Create groups in your Discourse instance.
Edit the groupsMapping
and groupsNameMapping
object in the mappings.js file.
call space.freshImport
Create categories in your Discourse instance.
Edit the categoriesMapping
object in the mappings.js file.
call post.freshImport
If you want to use the calendar, you will need to install the official Calendar plugin
call calendar.freshImport
At the moment, attendees are not migrated. There is a field
participants.attending
in the HumHub event that contain the list of participants and theirdisplay_name
.
call wiki.freshImport