IRStats2/EPrints 3.2

From EPrints Documentation
Revision as of 08:09, 20 June 2020 by Drn@ecs.soton.ac.uk (talk | contribs) (Moved out from main IRStats2 page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

On EPrints 3.2 you will have to manually copy the required files to your EPrints installation path. It is a low-risk operation since IRStats2 is a true add-on to EPrints and it does not interact with the core software. You may want to back-up your EPrints files and your database but again, this should not be necessary.

1. Get the files from GitHub or by following this [link https://github.com/eprints/irstats2/tarball/master] [tar.gz] 2. Copy the modules and various configuration files to your local archive:

cp bin/* /opt/eprints3/archives/bin/
cp cfg/* /opt/eprints3/archives/cfg/
cp cgi/* /opt/eprints3/archives/cgi/

(create the bin and cgi directories if they don't exist).

3. Test everything is OK:

/opt/eprints3/bin/epadmin test

4. Add in the <head> sections of your template files (usually located in /opt/eprints3/archives//cfg/lang/en/templates/) the following:

<script type="text/javascript" src="http://www.google.com/jsapi">// <!-- No script --></script>
<script type="text/javascript">
        google.load("visualization", "1", {packages:["corechart", "geochart"]});
</script>

5. Restart the web server

[[Category::EPints 3.2]]