Following is the step by step guide for setting up Web MW on your local machine.
Step 1: Take a check out of the ZK version of MW, javasig and encumbered.
The urls
1. MWZk: http://aurora.regenstrief.org/svn/mw/branches/mwZk.
2. Encumbered: http://aurora.regenstrief.org/svn/javasig/branches/encumbered.
3. JavaSig?: http://aurora.regenstrief.org/svn/javasig/trunk.
Little tip: Check out these three things at the same level in a directory of your choosing. This is the default that we use. If you still choose to be adventurous you will have to explicitly give the path for javasig and encumbered folders while you run the ant targets.
Step 2: Run the ant warZK target.
While running this target you can provide command line arguments for
1. Javasig path
2. Encumbered path
3. Database to use
4. ParthCore? API jar location.
5. Karn API location
For example ant -Ddatabase=pgsql -Dedition.dir=../encumbered -Dkarn.jar.dir=../../karn/jar -DparthCore?.jar.dir=../../parthcore/jar warZK
If we choose not to supply the arguments the default will be used.
1. Default database is hsqldb.
2. Default location for the Karn and ParthCore? API is the mwZK lib folder
Step 3: After this step you will have the war ready in the mwZk\tmp\web folder.
Step 4: Deploy this war in the server of your choice.
Step 5: Start the database. If you choose the default hsqldb please run the hsqldbServer ant target to start the db.
![(please configure the [header_logo] section in trac.ini)](/mw/chrome/site/logo100.png)