Skip to content
Snippets Groups Projects
Commit 49102d4b authored by Andreas Domanowski's avatar Andreas Domanowski
Browse files

Adapt script to our instances

parent 1f7b6fe2
No related branches found
No related tags found
1 merge request!1Hedgedoc import
......@@ -5,6 +5,6 @@ from hedgedoc_import import import_into_hedgedoc
if __name__ == "__main__":
export_folder = "codimd-documents"
export_archive = "archive.zip"
export_from_codimd("http://localhost:3001", get_sessionid("CodiMD", "connect.sid"), export_folder)
import_into_hedgedoc("http://hedgedoc:3000", get_sessionid("HedgeDoc", "connect.hedgeDoc.sid"), export_folder,
export_archive)
export_from_codimd("https://md.inf.tu-dresden.de/", get_sessionid("CodiMD", "connect.sid"), export_folder)
import_into_hedgedoc("https://md.inf.tu-dresden.de/notes", get_sessionid("HedgeDoc", "connect.hedgeDoc.sid"),
export_folder, export_archive)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment