Difference between revisions of "Moodle Question Type Installation"

From WeBWorK_wiki
Jump to navigation Jump to search
(Replacing page with 'This is currently being updated for the Moodle 1.9 release. Category:Moodle_Question_Type')
Line 1: Line 1:
This page presents very detailed instructions on how to install the [[WeBWorKMoodleQuestionType]]. This material assumes a very basic understanding of UNIX shell commands.
 
  +
This is currently being updated for the Moodle 1.9 release.
 
==Step 1: Getting the Software==
 
 
Right now there is only one way to acquire the software; downloading from a SVN server. In the future there will be zipped packages available to download off the web.
 
 
===SVN===
 
 
This package is hosted at http://question2.webwork.rochester.edu/svn/wwmqt/trunk From most terminals you can run:
 
 
svn co http://question2.webwork.rochester.edu/svn/wwmqt/trunk wwmqt
 
 
This will create a folder named 'wwmqt' in your current working directory. If you are getting a message about the 'svn' command not being found on your machine you need to go ahead and install SVN. Instructions on how to do this for your Linux distribution are readily available by consulting Google.
 
 
==Step 2: Prerequisites==
 
 
* Moodle 1.8.x
 
* PHP5 with SOAP extensions
 
* Access to a WeBWorKQuestionServer
 
 
More information on how to install Moodle is available on their website: http://moodle.org.
 
 
PHP5 can be found using the Linux package management systems. The additional SOAP extension can be found in the same manner. If you need to install PHP and/or the SOAP extensions you will need to restart Apache.
 
 
==Step 3: Setup Script==
 
 
Now you need to run the setup script. This is located under wwmqt/bin/setup. The following code will run the setup script.
 
 
cd wwmqt/bin/setup
 
sudo perl setup.pl
 
 
Answer the questions or use the defaults in hard brackets. To use the defaults just leave the questions blank. Use the WSDL path from the WeBWorKQuestionServer that you are using.
 
 
==Step 4: Post Install==
 
 
You now need to go to the Site Administration panel in your Moodle installation. Click on Notifications. Moodle should now setup the database tables associated with the WWMQT.
 
 
That's it your done!
 
   
 
[[Category:Moodle_Question_Type]]
 
[[Category:Moodle_Question_Type]]

Revision as of 21:32, 15 May 2008

This is currently being updated for the Moodle 1.9 release.