Skip to content

SERG-UAlbany/KF4-to-KF6-Migration

 
 

Repository files navigation

KBDeX To Retrieve data.json

Git clone the reposiory and open it in eclipse.

To Get KF4 Data

Run KFDataExporter > Src > Kfl.kf4Serializer.app > KF4SerializerMain.java Which will create a "communityFolder" in KFDataExporter > KF.out > "communityFolder"

To get Attachments from KF4

Run KFDataExporter > Src > Kfl.kf4Serializer.app > KF4AttachmentDownloaderMainTest.java Which will create an attachments folder in KFDataExporter > KF.out > "communityFolder" > attachments

To convert KF4 Data into KF6 Data

Run KFDataExporter > Src > Kfl.converter.kf6.app > K6ConverterMainTest.java Note: In K6ConverterMainTest, Add the "communityFolder" name as a parameter Now, You'll get desired output: data.json file in "communityFolder"

Retrieving data to be imported in KF6 database

Use tools folder

Step1

Rename data.json to exportedData.json and put it in tools folder

Step2

Run generateHashMap.js in order to generate hashmaps

Step3

Run edit_v3.js file to generate multiple json files.

Step4

Keep All json files in a folder, rename the folder to "communityName" and use import_community.py to import the data to KF6-database.

Step5

Run common.py and add communityId of the current community

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 79.8%
  • TeX 12.3%
  • Makefile 3.1%
  • Shell 1.8%
  • JavaScript 1.4%
  • C++ 0.9%
  • Other 0.7%