tingletech / snac2

Other
3 stars 1 forks source link

eac-graph-load

Build process for SNAC website.

Check this out, in, say, your home directory:

hg clone https://code.google.com/p/eac-graph-load/ 

Setup Environment to build, index, and operate

. ~/eac-graph-load/setenv.bash

Make site in a brand new checked out directory

cd ~/eac-graph-load
export EAC_DIR=/data/production/data            # merge EAC output
export EAC_RAW_DIR=/data/production/data-extract    # merge EAC input
./make.bash

Study make.bash to see how SNAC is built. It runs other bash scripts which check out all code, build all indexes, and configure the tomcat servers.

Requirements

Use monit to stop and start

Must source setenv.bash to setup monit alias.

./monit             # run with no arguments to start monit daemon
./monit start tomcat_xtf
./monit start tomcat_tinkerpop
./monit start tomcat_rdf

see monit manual for more information on use of monit.

Apache Setup

Include servers/httpd.conf into your main httpd.conf to set up rewrite rules

License

for code: (e.g. pull_gremlin.bash, load/load_ead.grm, load/load_graphml.grm) BSD, see LICENSE-CODE.txt

for the graph as a Database qua Database: see the LICENSE-DATA.txt that is distrubuted with the graphML file probably one of these http://www.opendatacommons.org/licenses/