Closed goehle closed 10 years ago
I'm checking in to let you know where I am at with this. I'm getting pretty close to having everything working smoothly. I got all the way to having dancer running and responsive on an automatic Ubuntu install the other day. The two issues I"m still wrestling with are
Also on the todo list is to check the ww3 installation branch against release/2.9 since release/2.9 has the apache24 modifications and we will need the new install script to deal with that.
I've gotten clean installs on
The only remaining problem is that in the Ubuntu and Fedora installs PG doesn't seem to work. I get Undefined subroutine &main::_PG_init as an error when I try to render a problem. I dont know if this is a WeBWorK or ww_install issue.
The _PG_init issue is a PG problem, not a ww_install problem. So I think we are looking pretty good on this. We should really pull this into master so that when release 2.9 comes down the road we will have an apache2.4 enabled version good to go. I'll leave it up to Jason to decide how that works, though.
In order to install WW3 the script needs to do the following:
1) Install the modules cpan Template cpan Dancer::Plugin::Database cpan Array::Utils cpan File::Find::Rule cpan Dancer -- install Dancer cpan Plack::Runner cpan Plack::Handler::FCGI cpan Path::Class cpan FCGI
2) Install fcgid (or maybe fastcgi but that can mess with the config file) yum install mod_fcgid apt-get install libapache2-mod-fcgid
3) Set up the configuration files.
a) webwork3.conf This needs to be copied over from webwork3.conf.dist. The paths need to be set and the webworkWrite password needs to be set.
b) localOverrides.conf This needs to be copied/updated from localOverrides.conf.dist. Of particular importance is the "ww3 => 1" line in the %showEditors hash. c) webwork-apache2.config or webwork-apache2.4.config This needs to be updated from the correspinding dist file. Of particular importance is the code block
This should go inside the mod_perl block (before ). Big "gotcha" is the handler name. It seems to be fcgid-script for most things (assuming you are using fcgid and not fcgi) but might not be and doesn't produce useful error messages if you fail.