PageRenderTime 62ms CodeModel.GetById 32ms RepoModel.GetById 0ms app.codeStats 0ms

/readme.html

https://github.com/xiongchiamiov/IMathAS
HTML | 260 lines | 242 code | 18 blank | 0 comment | 0 complexity | 192479b6e26b74bca7a1aef96298c8da MD5 | raw file
  1. <html>
  2. <head>
  3. <title>IMathAS</title>
  4. <style type="text/css">
  5. ul li {
  6. margin-top: .3em;
  7. }
  8. ol li {
  9. margin-top: .3em;
  10. }
  11. h1 {
  12. color: #00f;
  13. }
  14. h2,h3,h4 {
  15. color: #00c;
  16. }
  17. </style>
  18. <body>
  19. <h1>IMathAS</h1>
  20. <p>Version: 1.8. Released November 9, 2009 <br/>
  21. See <a href="changelog.html">Change Log</a> for detailed change history. The most recent version of
  22. the code is available via SVN at <a href="http://code.google.com/p/imathas/">Google Code</a></p>
  23. <h3>What is IMathAS</h3>
  24. <p>IMathAS is an Internet Mathematics Assessment System. It is primarily a
  25. web-based math assessment tool for delivery and automatic grading of math homework
  26. and tests. Questions are algorithmically generated and numerical and math expression
  27. answers can be computer graded. Beyond that, IMathAS includes learning management tools,
  28. including posting of announcements, text files, and attachments, as well as discussion
  29. forums and a full gradebook. In postings and assessments, IMathAS allows accurate display
  30. of math and graphs, with simple calculator-style math entry and point-and-click graph
  31. creation. It is most similar to (and inspired by) <a href="http://webwork.math.rochester.edu/">WebWork</a>
  32. and <a href="http://wims.unice.fr/">WIMS</a>, and similar to commercial and publisher-produced systems
  33. like iLrn, MathXL, WebAssign, etc.</p>
  34. <p>IMathAS was written by <a href="http://www.pierce.ctc.edu/dlippman">David Lippman</a> (c) 2006-2009,
  35. with with partial support from the
  36. <a href="http://www.sbctc.ctc.edu/College/_g-elchome.aspx">WA State E-Learning Council</a>, the
  37. <a href="http://www.transitionmathproject.org/">Transition Math Project</a>, and
  38. <a href="http://www.pierce.ctc.edu">Pierce College</a>. It is distributed under
  39. the <a href="http://www.gnu.org/copyleft/gpl.html">GPL</a>. See the <a href="license.txt">license.txt</a> file distributed with IMathAS for more details
  40. and credits for components attributed to others.</p>
  41. <h3>Features</h3>
  42. <h4>IMathAS was built on three primary philosophies:</h4>
  43. <ul>
  44. <li><b>Math</b>: The system was designed for Math assessment; no effort was made for the system to be multi-purpose.</li>
  45. <li><b>Sharing</b>: The system was setup to encourage sharing of questions within a system and outside. Questions are grouped into
  46. question libraries, and are not tied directly to a specific assessment. Unless marked Private, questions can be used by
  47. anyone on the system, or used as a template for writing new questions. Assessments and course setups can be copied
  48. between users with permission. Export and Import allows the
  49. sharing of question sets between systems. Also, macro libraries allow for the expansion of IMathAS's question language.
  50. Users with expertise in a field can develop macro extensions, and share them with other users.</li>
  51. <li><b>Ease of Install</b>: The system uses standard PHP and MySQL. It requires no special compilation options or installation
  52. of external programs.</li>
  53. </ul>
  54. <h4>Core Features include:</h4>
  55. <ul>
  56. <li>Display:</li>
  57. <ul>
  58. <li>Rich Math and Graph display, using standards-based MathML and SVG, powered
  59. by Peter Jipsen's <a href="http://www1.chapman.edu/~jipsen/svg/asciisvg.html">ASCIIsvg</a> and
  60. <a href="http://www1.chapman.edu/~jipsen/mathml/asciimath.html">ASCIIMathML</a>, or using image fallbacks</li>
  61. <li>Rich Text Editor with built-in Math and Graph support for text items displayed in a course and forum posts</li>
  62. <li>Alternate display options for screenreaders and browsers without needed support</li>
  63. </ul>
  64. <li>Assessment:</li>
  65. <ul>
  66. <li>Question types including:</li>
  67. <ul>
  68. <li>Functions, with answers like "sin(x)"</li>
  69. <li>Numbers, compared to a given tolerance</li>
  70. <li>Calculated Numbers, like 5/3 or 2^5</li>
  71. <li>Multiple-Choice</li>
  72. <li>Multiple-Answer</li>
  73. <li>Matching</li>
  74. <li>String</li>
  75. <li>Essay (not computer graded)</li>
  76. <li>Numerical Matrix</li>
  77. <li>Calculated Matrix</li>
  78. <li>Interval</li>
  79. <li>Calculated Interval</li>
  80. <li>N-tuples</li>
  81. <li>Drawing / Graphing</li>
  82. <li>File Upload</li>
  83. <li>Multipart</li>
  84. </ul>
  85. <li>Multiple display options and assessment settings, including an option for practice sets, and
  86. due date exceptions for individual students</li>
  87. <li>Algorithmically generated questions, with a relatively simple-to-use question language
  88. (loosely based on PHP) with many built-in randomizers and display macros</li>
  89. <li>Group assessments</li>
  90. <li>Expandable question language, by installing additional macros</li>
  91. </ul>
  92. <li>Other Course Management Features:</li>
  93. <ul>
  94. <li>Post text items, uploaded files, or web links to the classroom</li>
  95. <li>Discussion Forums, optionally gradable </li>
  96. <li>Full gradebook with support for online and offline grades and flexible grading schemes</li>
  97. </ul>
  98. <li>Administration:</li>
  99. <ul>
  100. <li>Flexible administration: IMathAS can be centrally administered,
  101. or teachers can be given rights to create their own courses</li>
  102. <li>Teachers can be grouped by school or other division, with one or more group administrators</li>
  103. <li>Courses can have one or more teachers</li>
  104. </ul>
  105. <li>Mash-ups:</li>
  106. <ul>
  107. <li>Experimental support for <a href="http://www.imsglobal.org/community/forum/categories.cfm?catid=44">BasicLTI</a>, both as a consumer and producer</li>
  108. <li>Google gadget for listing messages and forum posts</li>
  109. </ul>
  110. </ul>
  111. <h4>Details</h4>
  112. For details on how the system works, look over the <a href="help.html">Help File</a> or view
  113. <a href="http://www.imathas.com/support.html">training and support</a> resources.
  114. <h3>Why a new system</h3>
  115. <p>You may be wondering why another system, when excellent systems already exist.</p>
  116. <p>For my purposes, WebWork and WIMS were too difficult to install (since I don't have direct
  117. access to my school's webserver). I didn't want to use commercial or publisher produced systems
  118. because I don't want students with used books to incur additional cost.</p>
  119. <h3>Installation</h3>
  120. <p>
  121. <ol>
  122. <li>Download IMathAS, extract it, and copy the files to your webserver.</li>
  123. <li>Alternatively, if you have shell access to your server, enter the directory you want IMathAS in,
  124. and checkout the code from SVN: <i>svn checkout http://imathas.googlecode.com/svn/trunk/</i>.
  125. Using SVN greatly simplifies upgrading.</li>
  126. <li>If your web host requires that you create databases through the web panel, create a database
  127. and database user for IMathAS now. If you have a username/password with database
  128. creation priviledges, you can wait and use it later in the install process.</li>
  129. <li>Open a browser and access install.php. This script will write the config.php file, change directory
  130. permissions, copy distribution files, and set up the database. At the end of the install you
  131. will be given the opportunity to install a small set of example questions. <i>Note</i>:
  132. If you are running on a Windows server, you may need to set directory permissions manually.</li>
  133. <li>Log into IMathAS. If you didn't change the
  134. initial imathas user settings when running install.php, log in as 'root' with password 'root'.
  135. If you did not change the inital imathas user settings, click the "Change Password"
  136. link now to change the password to something substantial. Alternatively, you can
  137. go into the Admin page, create a new user with Admin rights, then delete the 'root'
  138. admin.</li>
  139. <li>Edit loginpage.php and infoheader.php if desired. If you plan to use the new instructor account
  140. request page, edit newinstructor.php</li>
  141. </ol>
  142. </p>
  143. <h3>Installation Issues/Troubleshooting</h3>
  144. <p>
  145. <ul>
  146. <li>If you receive an 500 access error trying to access install.php, try deleting the .htaccess file in the
  147. IMathAS root directory. This file is used to give some advice to the web server about file compression
  148. and file types, but could potentially cause problems depending on the server configuration</li>
  149. </ul>
  150. </p>
  151. <h3>Upgrading</h3>
  152. <p>If you are upgrading from IMathAS 1.6 or later, access update.php to install any new database changes
  153. and learn about any other changes necessary. If you are upgrading from a version earlier
  154. than 1.6, you'll need to manually apply changes from the upgrade.txt file.
  155. </p>
  156. <h3>System Requirements</h3>
  157. <h4>Versions</h4>
  158. <p>PHP 5 and MySQL 4+ are recommended, and required from some features.
  159. Most of the system will work with PHP 4.2+
  160. and MySQL 3.23, but future compatibility is not guaranteed.</p>
  161. <p>PHP with GD2 and Freetype are recommended for best image-based graph support</p>
  162. <h4>Server Requirements</h4>
  163. <p>An installation serving 3500+ students
  164. with 100+ concurrent users has operated well on a commercial shared web server.</p>
  165. <h4>Security</h4>
  166. <p>IMathAS uses a standard databased-stored sessions-based system. If a user does
  167. not log out, the session is cleared from database after 24 hours.</p>
  168. <p>Questions (written by teachers) are passed through an interpreter that only allows
  169. authorized functions to be used. Student answers are evaluated client-side using
  170. JavaScript, and are never evaled server-side.</p>
  171. <h3>Install Notes</h3>
  172. <p>
  173. The install.php script automatically handles the following install steps. They're
  174. listed here in case anything goes wrong:
  175. <ul>
  176. <li>Change permissions (chmod) of the following directories to allow the webserver process
  177. to write to the directories:
  178. <ul>
  179. <li>assessment/libs</li>
  180. <li>assessment/qimages</li>
  181. <li>admin/import</li>
  182. <li>course/files</li>
  183. <li>filter/graph/imgs</li>
  184. </ul>
  185. <br/>
  186. <i>Note</i>: If you are running on a Windows server, you may need to set directory permissions manually. <br/>
  187. <i>Note</i>: For security, the admin/import directory should not be web-readable. A .htaccess file is included to
  188. prevent access. If your server doesn't obey .htaccess files, you may need to do additional tweaking. </li>
  189. <li>Rename (in the main directory):
  190. <ul>
  191. <li>config.php.dist to config.php</li>
  192. <li>infoheader.php.dist to infoheader.php</li>
  193. <li>loginpage.php.dist to loginpage.php</li>
  194. <li>newinstructor.php.dist to newinstructor.php</li>
  195. </ul></li>
  196. <li>Edit config.php. Change these options to your liking:</li>
  197. <ul>
  198. <li>$dbserver: The address of your database server. Probably www.yoursite.edu or localhost</li>
  199. <li>$dbname: The name of the IMathAS database</li>
  200. <li>$dbusername: The username of the IMathAS database user.</li>
  201. <li>$dbpassword: The password for the IMathAS database user. Choose something really complicated</li>
  202. <li>$installname: The name of your installation, for personalization.</li>
  203. <li>$longloginprompt: How you want to prompt new students for a username</li>
  204. <li>$loginprompt: How you want to prompt students for a username</li>
  205. <li>$loginformat: Enforce a format requirement on the username</li>
  206. <li>$emailconfirmation: If set to true, new users will have to respond to an email sent by the system
  207. before being able to enroll in any classes</li>
  208. <li>$sendfrom: An email address to send confirmation and notification emails from.</li>
  209. <li>$imasroot: The web root of the imathas install (ie, http://yoursite.edu $imasroot)</li>
  210. <li>$mathimgurl: An absolute path or full url to a Mimetex CGI installation, for math image fallback</li>
  211. <li>$colorshift: Whether icons should change colors as due date approaches. I thought this was cute,
  212. but others might find it annoying</li>
  213. <li>$smallheaderlogo: Text or an HTML image tag for a small (120 x 80) logo to display at the top right of
  214. course pages</li>
  215. <li>$allownongrouplibs: Whether non-admins should be allowed to create non-group libraries.
  216. On a single-school install, set to true; for larger installs that plan to
  217. use the Groups features, set to false</li>
  218. <li>$allowcourseimport: Whether anyone should be able to import/export questions and libraries from the
  219. course page. Intended for easy sharing between systems, but the course page
  220. is cleaner if turned off.</li>
  221. <li>$allowmacroinstall: Whether admins should be able to install macro files. Macros files hold a large
  222. security risk, and should only be installed from trusted sources. For a single-admin system, it is
  223. recommended that you leave this as false, and change it when you need to install a macro</li>
  224. <li>$sessionpath: change the session file path different than the default.
  225. This is usually not necessary unless your site is on a server farm, or
  226. you're on a shared server and want more security of session data</li>
  227. <li>$mathchaturl: a URL to the live chat server. Leave unchanged to use the local install's
  228. server. Comment out to disable the chat server. You can also use a different install to
  229. offload chat on a different server</li>
  230. <li>$enablebasiclti: Set to true to enable use of IMathAS as a BasicLTI producer.</li>
  231. <li>$AWSkey,$AWSsecret,$AWSbucket: To allow students and teachers to upload files through
  232. the text editor, and to enable file upload questions, this specifies an Amazon S3
  233. key, secret, and bucket to use for file storage. Local storage is not yet implemented.</li>
  234. </ul>
  235. <li>Run the dbsetup.php script (access http://yoursite.edu $imasroot/dbsetup.php), or send it
  236. to your system administrator and ask them to run it, if you don't have creation access
  237. to the database server. Alternatively, have your system administrator create a database and database user,
  238. and use these names in the config.php file before running dbsetup.php. This script sets up the necessary database user, database, and tables for IMathAS.</li>
  239. </ul>
  240. </p>
  241. </body>
  242. </html>