Help on hosting Exhibit locally

12 views
Skip to first unread message

mleden

unread,
Mar 10, 2009, 3:50:07 PM3/10/09
to SIMILE Widgets
Hi,

Up to now, I've been using the MIT-hosted libraries of Exhibit. This
has worked well. However, I have decided to take the plunge and host
Exhibit locally. (This is due to the anticipated performance gains,
the removal of the dependency on the MIT servers, and because I want
to use Josh Huckabee's very nice Calendar view extension for Exhibit
which, apparently, is not included in the MIT-hosted version.)

I've been digging around trying to find out the definitive and current
recipe on how to do this. Perhaps it doesn't exist. I've looked at
these links:
http://www.stevetrefethen.com/blog/HostingMITsSimileExhibitOSProject.aspx
http://simile.mit.edu/wiki/Exhibit/2.0/Running_Exhibit_Yourself

However, there appear to be discrepancies between the two. For
example:
1. The first link suggests SVN from googlecode whereas the second
suggests SVN from mit. Does it matter? Will I end up with the same
thing? Will I get the Calendar view extension mentioned earlier?
2. The first link suggests that after checkout from SVN you should
remove a bunch of "site" content. The second link does not mention
that.
3. The first link implies that a number of changes will be required
whereas the second implies that I'd only need to change references to
simile-ajax-api.js and toggle useLocalResources = true

Needless to say, I want the latest (production) version of Exhibit.
Ideally, I would also like to be able to support the recently released
new features of Timeline (2.3.0, I believe). Is there something I can
do to my "local Exhibit installation" to enable that?

Any help or suggestions based on your experience would be appreciated.

Thx,
-Mark

John Callahan

unread,
Mar 10, 2009, 4:59:27 PM3/10/09
to simile-...@googlegroups.com
I ran into the same issues. Some of the info I found on the web was
old. Basically, this is what I did. Simpler than some of the other
readings I found.


1) I checked out code from SVN using the info found on
http://code.google.com/p/simile-widgets/wiki/How_To_Commit_Code


2) I edited webapp/api/exhibit-api-js file:

set var useLocalResources = true;
changed http://127.0.0.1:8888/ to my local web server


3) I also checked out the latest Timeline code. Then, in the exhibit
code tree, edit webapp\api\extensions\time\time-extension.j sto point to
your local Timeline code.


This seemed to work for me EXCEPT that I keep getting errors (as noted
by Firebug) that locale files cannot be found. They were not part of
the SVN checkout. I did run ant to optimize/bundle the code. I know I
should for better performance. Does the ant build create locale files?

You may also need to make changes for the painter service. That can be
checked out (I think) to run locally as well.

- John

**************************************************
John Callahan
Geospatial Application Developer
Delaware Geological Survey, University of Delaware
227 Academy St, Newark DE 19716-7501
Tel: (302) 831-3584
Email: john.c...@udel.edu
http://www.dgs.udel.edu
**************************************************

John Callahan

unread,
Mar 10, 2009, 5:10:23 PM3/10/09
to simile-...@googlegroups.com
Oops!  A typo in my last email. 

I did NOT run ant on my locally checked out version.  I wonder if that's the cause of the locale file errors.

- John
Reply all
Reply to author
Forward
0 new messages