Is it possible to download a copy of the latest Exhibit trunk locally (which I know I can do), then alter the Exhibit module code to point to my local version? Similarly, is there anything in the module code that is specific to a certain version of Exhibit or Timeline? Thanks.

- John

Comments

jhuckabee’s picture

Assigned: Unassigned » jhuckabee

Hi John,

In regards to running a local version of Exhibit, yes, I'm doing this in several different projects and it works great. What we've done is added a vendor directory in the root exhibit module and then copy the Exhibit/Timeline API's in there. So you would have a structure similar to

exhibit
 -- vedor
     -- simile
       -- exhibit
       -- timeline

You should be aware that although you're hosting these API's locally, internally they are accessing additional external APIs hosted on the Simile servers. Most notable of these is the Simile AJAX library. We've modified the libraries to point to our own hosted version of the APIs so they are 100% locally served. Basically, once you have the library downloaded, (take Exhibit itself for example), look in src/webapp/api/exhibit-api.js and search for a reference to simile-ajax-api.js. You'll just want to update that to point to your locally hosted version (can be relative or absolute). You'll need to do this for each of the APIs you host locally.

Make sense? :-)

The latest dev snapshot of the module assumes you're using the trunk version of the Exhibit API. Although it should work with the latest stable release too.

diodata’s picture

Yep, makes sense. I have running locally the latest trunk of Exhibit, Exhibit's extensions, and Timeline. I need to run ant on them though. Have you seen that the bundled version from ant makes a performance difference?

Just as FYI, since I have several drupal sites on my box that utilize these, I have all SIMILE products in /sites/simile/... and just link each module setting (admin/settings/exhibit) to there.

Question: So, is the dev version of this module the latest available? I saw on another post that you rolled in Apache Solr support. (Cool, as I also am starting to use that.) That post was dated Mar 2 (I think) but the dev version is dated Jan 29. Just curious...

- John

jhuckabee’s picture

I haven't noticed a performance difference based on the bundled version of ANT. Have you done any benchmarking on this? Would be curious in this. Anything we can do to improve performance right now would really help Exhibit's cause.

We're working on a 1.0 release that will include several updates, Solr being one of them. At the moment these are only in my GitHub repo. We should have an official release out within the next week.