From: Bill Erickson Date: Thu, 10 Nov 2016 17:07:41 +0000 (-0500) Subject: Native Messaging WIP -- install docs X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ca2f490fdbefee61bf84855854fea862a714bf19;p=working%2FHatch.git Native Messaging WIP -- install docs Signed-off-by: Bill Erickson --- diff --git a/README b/README deleted file mode 100644 index 72a3f08b56..0000000000 --- a/README +++ /dev/null @@ -1,19 +0,0 @@ -Hatch - Java Print / Storage / Etc Service - -** ROUGH SETUP NOTES ** - -# download jdk1.8 (requires license agreement) -- haven't tested on openjdk yet. -# http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html -# and extract in the same directory -% ln -s jdk1.8.0_25 jdk1.8 - -% mkdir lib -Download org.json jar from and place into lib (modify run.sh CP) -https://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.json%22%20AND%20a%3A%22json%22 - -# compile -% ./run.sh - -# compile + run -% ./run.sh 1 - diff --git a/README.linux b/README.linux new file mode 100644 index 0000000000..531a5427b8 --- /dev/null +++ b/README.linux @@ -0,0 +1,37 @@ +Hatch - Java Print / Storage / Etc Service + +** ROUGH SETUP NOTES ** + +1. Download JDK 8 from Oracle + + 1.a Go here, accept the license, and download the Linux .tar.gz: + + http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html + + 1.b Extract the file and link it into place where run.sh can find it. + + $ tar -zxf jdk*tar.gz + $ ln -s jdk1.8* jdk1.8 + + NOTE: We may some day use openjdk, but its JavaFX libs are not ready + for prime time as of writing. + +2. Get the org.json library + + $ mkdir lib + $ cd lib + $ wget -O json-20160810.jar \ + 'https://search.maven.org/remotecontent?filepath=org/json/json/20160810/json-20160810.jar' + +3. Compile and run. + +# compile +$ ./run.sh complie + +# test +$ ./run.sh test + +# run +$ ./run.sh run + + diff --git a/README.win b/README.win index 854a42e4e9..a0dc37a3cb 100644 --- a/README.win +++ b/README.win @@ -2,6 +2,8 @@ Hatch - Java Print / Storage / Etc Service ** ROUGH SETUP NOTES ** +!!! TODO: refactor these for hatch-as-native-messaging-host changes !!! + Install Hatch on your desktop -- Windows edition: If you're reading this online, first download hatch to your desktop.