Changes between Version 13 and Version 14 of BoltTutorial
- Timestamp:
- Feb 6, 2008, 1:37:36 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BoltTutorial
v13 v14 7 7 player on any computer). 8 8 9 Use [MakeProject make_project] to create a BOINC project named " bolt_test":9 Use [MakeProject make_project] to create a BOINC project named "test": 10 10 {{{ 11 11 > cd boinc/tools 12 > make_project --web_only bolt_test12 > make_project --web_only test 13 13 }}} 14 14 Edit httpd.conf as directed (you'll need root access to do this). … … 18 18 19 19 Visit http://a.b.c/test_ops/bolt_ops.php, 20 and create a course named " Test course"21 with course document "co urse_doc.php" (we'll create this later).20 and create a course named "Identifying California conifers" 21 with course document "conifer.php" (we'll create this later). 22 22 23 23 == Lessons and sequences == … … 47 47 }}} 48 48 49 lesson2.html 49 conifer_decid.php 50 50 {{{ 51 51 <?php … … 70 70 }}} 71 71 72 co urse_doc.php72 conifer.php 73 73 {{{ 74 74 <?php 75 76 function bolt_header($title) { 77 echo " 78 <link rel=stylesheet href=conifer.css type=text/css> 79 <table><tr><td width=600 height=126 background=images/conifers.jpg> 80 <font size=6 color=#ffffff> 81 Identifying<br> California<br> Conifers 82 </font> 83 </td></tr></table> 84 <p> 85 <h2>$title</h2> 86 "; 87 } 88 89 function bolt_footer() { 90 echo " 91 <div id='footer'> 92 <table width=100%><tr><td align=center> 93 © 2008 94 </td></tr></table> 95 </div> 96 "; 97 } 98 75 99 return sequence( 76 100 name('course'), 77 101 lesson( 78 name(' lesson 1'),79 filename(' lesson1.php')102 name('Introduction'), 103 filename('conifer_intro.php') 80 104 ), 81 105 lesson( 82 name(' lesson 2'),83 filename(' lesson2.html')106 name('Conifers and deciduous trees'), 107 filename('conifer_decid.php') 84 108 ) 85 109 ); 86 110 ?> 111 }}} 112 113 conifer.css: 114 {{{ 115 body { 116 background-color: white; 117 font-family: "Trebuchet MS", Verdana, Arial, Sans-Serif; 118 font-size: 16px; 119 color: black; 120 width: 800px; 121 } 122 123 img { 124 display: block; 125 margin-top: 10px; 126 margin-bottom: 10px; 127 margin-left: auto; 128 margin-right: auto; 129 border: 0px; 130 } 131 132 p.caption { 133 text-align: center; 134 font-weight: bold; 135 margin-left: auto; 136 margin-right: auto; 137 } 87 138 }}} 88 139 … … 93 144 Now visit http://a.b.c/test/bolt.php. 94 145 You'll be asked to log in; do so. 95 Click on the button to start the test course. 96 You'll see: 146 Click on the button to start the course. 147 Fill in the form asking for your demographic info. 148 Then you'll see: 97 149 98 150 [[Image(bolt_l1.jpg, nolink)]] … … 107 159 Now suppose that instead of reading the lesson, 108 160 you go away (for an hour or a month) and return. 109 Simulate this by visiting http://a.b.c.test/bolt.php. 110 You'll see 111 112 [[Image(restart.png, nolink)]] 113 161 Simulate this by visiting http://a.b.c.test/bolt.php; click Resume. 114 162 Notice that Bolt "remembers" where you are in the course 115 163 (this is stored in the database; 116 164 it will work even if you go to a different computer). 117 118 Now click "Resume", and you'll see the second lesson again.119 Click on Next.120 You'll see:121 122 [[Image(finished.png, nolink)]]123 165 124 166 Now visit http://a.b.c.test/bolt.php again, … … 126 168 You'll see something like: 127 169 128 [[Image( history.png, nolink)]]170 [[Image(bolt_history.jpg, nolink)]] 129 171 130 172 Bolt has recorded your course interactions and their timing,