[system] / branches / gage_dev / webwork2 / clients / renderProblem.pl Repository:
ViewVC logotype

Diff of /branches/gage_dev/webwork2/clients/renderProblem.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 6542 Revision 6543
38 38
39################################################## 39##################################################
40# configuration section for client 40# configuration section for client
41################################################## 41##################################################
42 42
43
43# Use address to WeBWorK code library where WebworkClient.pm is located. 44# Use address to WeBWorK code library where WebworkClient.pm is located.
44use lib '/opt/webwork/webwork2/lib'; 45use lib '/opt/webwork/webwork2/lib';
45use Crypt::SSLeay; # needed for https 46use Crypt::SSLeay; # needed for https
46use WebworkClient; 47use WebworkClient;
47 48
52 53
53 ############################################################ 54 ############################################################
54# configure the local output file and display command !!!!!!!! 55# configure the local output file and display command !!!!!!!!
55 ############################################################ 56 ############################################################
56 57
58
57 # Path to a temporary file for storing the output of renderProblem.pl 59 # Path to a temporary file for storing the output of renderProblem.pl
58 use constant TEMPOUTPUTFILE => '/Users/gage/Desktop/renderProblemOutput.html'; 60 use constant TEMPOUTPUTFILE => '/Users/gage/Desktop/renderProblemOutput.html';
59 61
60 # Command line for displaying the temporary file in a browser. 62 # Command line for displaying the temporary file in a browser.
61 use constant DISPLAY_COMMAND => 'open -a firefox '; #browser opens tempoutputfile above 63 use constant DISPLAY_COMMAND => 'open -a firefox '; #browser opens tempoutputfile above
62 # use constant DISPLAY_COMMAND => "open -a 'Google Chrome' "; 64 # use constant DISPLAY_COMMAND => "open -a 'Google Chrome' ";
63 65
64 ############################################################ 66 ############################################################
65 67
66 my $use_site; 68 my $use_site;
67 $use_site = 'test_webwork'; # select a rendering site 69 $use_site = 'test_webwork'; # select a rendering site
68 #$use_site = 'local'; # select a rendering site 70 #$use_site = 'local'; # select a rendering site
69 #$use_site = 'rochester_test'; # select a rendering site 71 #$use_site = 'rochester_test'; # select a rendering site
70 72

Legend:
Removed from v.6542  
changed lines
  Added in v.6543

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9