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 is currently being updated for the Moodle 1.9 release.
 
  +
Installing the Moodle Question Type is designed to be easy. Assuming you already have the prerequisites this should take about 5 minutes.
  +
  +
==Prerequisites==
  +
  +
* Moodle 1.9 -- http://moodle.org
  +
* PHP5 -- Depending on your system there are many simple ways to install PHP.
  +
* PHP soap extensions -- Can be installed as a package out of debian or out of an rpm, or flagged when PHP is built from source.
  +
  +
==Installation==
  +
  +
To start you should have administrator access to the Moodle site.
  +
  +
# Move or copy the ''webwork'' directory provided from SVN or from the download into ''yourmoodle/question/type/''. You should now have a directory ''yourmoodle/question/type/webwork''.
  +
# (Optional) Edit the ''config.php'' file in yourmoodle/question/type/webwork. The second part of the define statement should point to your own server where the [[WeBWorK Question Server]] is installed. For example: ''http://myserver.edu/problemserver_files/WSDL.wsdl''.
  +
# Login to the Moodle site and click on ''Notifications'' in the Site Administration panel on the left. The database tables should now be created.
  +
  +
Thats it your done! Everything can be tested by trying to load and preview a WeBWorK question.
  +
  +
Look at the [[Moodle Question Type FAQ]] if you have any questions.
  +
   
 
[[Category:Moodle_Question_Type]]
 
[[Category:Moodle_Question_Type]]

Revision as of 00:42, 25 May 2008

Installing the Moodle Question Type is designed to be easy. Assuming you already have the prerequisites this should take about 5 minutes.

Prerequisites

  • Moodle 1.9 -- http://moodle.org
  • PHP5 -- Depending on your system there are many simple ways to install PHP.
  • PHP soap extensions -- Can be installed as a package out of debian or out of an rpm, or flagged when PHP is built from source.

Installation

To start you should have administrator access to the Moodle site.

  1. Move or copy the webwork directory provided from SVN or from the download into yourmoodle/question/type/. You should now have a directory yourmoodle/question/type/webwork.
  2. (Optional) Edit the config.php file in yourmoodle/question/type/webwork. The second part of the define statement should point to your own server where the WeBWorK Question Server is installed. For example: http://myserver.edu/problemserver_files/WSDL.wsdl.
  3. Login to the Moodle site and click on Notifications in the Site Administration panel on the left. The database tables should now be created.

Thats it your done! Everything can be tested by trying to load and preview a WeBWorK question.

Look at the Moodle Question Type FAQ if you have any questions.