## WeBWorK Problems

### How to setup for edit on local PC?

by Robert Mařík -
Number of replies: 1

Hello, I find edit in www browser cumbersome and would like to work on my local PC. I have found instructions on

https://webwork.maa.org/wiki/Client_Editor
but the informations seem to be outdated. For example, the file renderProblem.pl is misiing in git.

Can you give me some hints how to setup the server and the editor which work on recent version? Thank you very much.

Robert Marik, Mendel university

### Re: How to setup for edit on local PC?

by Robert Mařík -

After series of attempts I can answer my own question.

On Ubuntu, clone pg and webwork2 from git, install

sudo apt-get install libstring-shellquote-perl libxmlrpc-lite-perl libjson-perl libdbi-perl libuuid-tiny-perl liblocale-maketext-lexicon-perl

Then copy the perl script sendXMLRPC.pl fom the webwork2 tree to the working directory. Put the ww_credentials file in the working directory and set html_display_command and friends in this file.

Run the command as follows.

perl sendXMLRPC.pl -bv --seed=120 problem.pg
For the first time you have to solve about three the complaints of the script, (missing env variable and two config files) and then everything works nice. Thank you.

Robert