Changes for page Competent - iTrivio integration
Last modified by Petr Blšťák on 2024/09/18 11:55
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. admin1 +XWiki.osteffl - Content
-
... ... @@ -1,8 +6,3 @@ 1 -(% class="box errormessage" %) 2 -((( 3 -This section is currently under construction... please wait until is finished 4 -))) 5 - 6 6 = Software to be installed = 7 7 8 8 //Unless stated otherwise, newer stable versions of the program should work.// ... ... @@ -12,36 +12,27 @@ 12 12 ==== [[Competent 33>>doc:Main.Official manuals.Competent installation manual.WebHome]] ==== 13 13 14 14 15 -= Introduction =10 += Configuration = 16 16 17 - //On thispage weuse the term "Course" for bothiTrivio courses andtests.//12 +This configuration describes basic scenario where 18 18 19 -Integration of Competent with iTrivio provides features of both softwares merged and accessible through the Competent. 14 +* Both iTrivio and Competent are fresh installations 15 +* Login with default iTrivio and Competent admin accounts were successfully tested 16 +* Competent will be main platform to handle course creation and user management - after integration configuration there will be no need to access iTrivio as an administrator or student except modifying content of course and playing course. 20 20 21 -When an user is created in Competent, it is automatically created also in iTrivio. Competent user contains ID reference to its iTrivio counterpart. 22 22 23 - Sameapplies forCompetent Activities with 'iTrivio' launch type- course/testiscreated alsoin iTrivio and Competent handlesreference.19 += Prerequisities = 24 24 25 - Competenthusprovidesall user, courseanduser-coursemanagementuch as21 +[[Edit>>url:https://wikitest.educasoft.net/bin/edit/Dev%20Environment%20Setup/Competent%20%3C-%3E%20Itrivio/WebHome?section=1]] 26 26 27 -* creating/modifyindeletingusers28 -* creatingiTriviocourse activities23 +* [[Competent>>url:https://wikitest.educasoft.net/bin/view/Dev%20Environment%20Setup/Competent/]] installed and configured 24 +* [[Itrivio>>url:https://wikitest.educasoft.net/bin/view/Dev%20Environment%20Setup/iTrivio/]] installed and configured 29 29 26 +First be sure you can run both Apps separately ofc [[image:https://wikitest.educasoft.net/resources/icons/silk/emoticon_smile.png?cache-version=1585572528000||alt="emoticon_smile"]] Note on which address each of them runs (including ports). Then to link them: 30 30 31 - 32 -= Configuration = 33 - 34 -This configuration describes the basic scenario where 35 - 36 -* both iTrivio and Competent are fresh installations 37 -* login with default iTrivio and Competent admin accounts were successfully tested 38 -* Competent will be main platform to handle course creation/deletion, user management and user-course management. 39 - 40 -Contact Educasoft for specific configuration procedure in other more complex scenarios (e.g. Competent is going to use existing iTrivio application already filled with course/user data ) 41 - 42 - 43 43 = Competent part = 44 44 30 +[[Edit>>url:https://wikitest.educasoft.net/bin/edit/Dev%20Environment%20Setup/Competent%20%3C-%3E%20Itrivio/WebHome?section=2]] 45 45 46 46 in application.properties, or in your own application-yourNameShortcut.properties file set the following propeties: 47 47 ... ... @@ -65,7 +65,7 @@ 65 65 //(ID of folder in iTrivio in which to create new Activites)// 66 66 * **competentItrivioIntegration.auth.userId=2** 67 67 //(ID of user in whose name the authorisation of running the course will be done?)// 68 -* **competentItrivioIntegration.auth.key=** 54 +* **competentItrivioIntegration.auth.key=Z1zzzQYY91mDNdGWKzoa** 69 69 //(secret key for JWT token)// 70 70 * **competentItrivioIntegration.auth.environment=demo** 71 71 //(authentication environment, used in JWT token I think)// ... ... @@ -72,6 +72,7 @@ 72 72 73 73 = iTrivio part = 74 74 61 +[[Edit>>url:https://wikitest.educasoft.net/bin/edit/Dev%20Environment%20Setup/Competent%20%3C-%3E%20Itrivio/WebHome?section=3]] 75 75 76 76 Run the url [[http:~~/~~/localhost:8080/(companyUrl/)setCompanyConfig.html>>url:http://localhost:8080/setCompanyConfig.html?locale=cs]] of course on the domain your iTrivio runs and with the companyUrl of the comany you are setting this for. 77 77 ... ... @@ -83,7 +83,7 @@ 83 83 * **COMPETENT_INTEGRATION_USERGROUP_ID **//(ID of usergroup in iTrivio in which new users will be created)// 84 84 * **COMPETENT_INTEGRATION_COURSE_TEMPLATE **//(optional - ID of course template in which new courses will be created)// 85 85 86 -//(Save the settings... )// 73 +//(Save the settings... :-P )// 87 87 88 88 Now open the file /com.itrivio/src/main/resources/settings.properties and set the two following properties: 89 89 ... ... @@ -92,4 +92,6 @@ 92 92 93 93 = Final setting test = 94 94 82 +[[Edit>>url:https://wikitest.educasoft.net/bin/edit/Dev%20Environment%20Setup/Competent%20%3C-%3E%20Itrivio/WebHome?section=4]] 83 + 95 95 Thats it, you should be good to go. Now run both Apps, DO NOT TOUCH ITRIVIO FROM NOW ON. Go to Competent, create some Activity and in Detail, set the RUN_TYPE (Typ spouštění) to iTrivio, then select in type and hit **Save and Create in iTrivio** button. If it works, you are almost good to go. Now try to Edit the course, add one page and then try to run it. if THAT works, you are all set.