Permalink
Browse files

added some docu

  • Loading branch information...
1 parent 18f0123 commit 317ffdba58ff33c7a47ef21f87ab324224bbcc5c @mkristian mkristian committed Aug 20, 2011
Showing with 85 additions and 2,545 deletions.
  1. +26 −0 deploy.md
  2. +59 −0 readme.md
  3. +0 −2,545 solr/tipitaka/romn.map
View
@@ -0,0 +1,26 @@
+deploy on search.tipitaka.org
+==========
+
+copy the newly build package for jetty6
+----------
+
+ mvn clean
+ mvn -P package6
+ scp target/tipitaka.war search@saumya.de:
+
+restart the server
+----------
+
+ ssh root@saumya.de
+ /etc/init.d/hightide stop
+ /etc/init.d/hightide start
+
+sync the search index
+---------
+
+ rsync -avz --exclude=tipitaka -e ssh solr/ search@saumya.de:
+
+sync the search index, the mirror and the directory structure files
+---------
+
+ rsync -avz -e ssh solr/ search@saumya.de:
View
@@ -0,0 +1,59 @@
+setup and other commands
+==========
+
+setup a clean clone
+----------
+
+ mvn -P setup -Dscript=romn
+
+which will mirror a mirror of tipitkaka.org for the **romn** script and index them. the mirroring will look at the timestamps of the files and update only the changed ones but that needs to check the timestamp on the remote server too.
+
+ mvn -P setup
+
+will do the some for all scripts - **takes a long time**.
+
+the mirror will be located in directory __solr/tipitaka__. now you can run the server with
+
+ mvn -P jetty-run
+
+and access through
+
+ http://localhost:8080/solr/web
+ http://localhost:8080/solr/ios
+ http://localhost:8080/solr/browse
+
+just run the indexer on the mirror
+------------
+
+ mvn -P index-run -Dscript=deva
+
+or
+
+ mvn -P index-run
+
+create the directory structure for browsing
+-------------
+
+ mvn -P directory-structure
+
+create transcription table of the directory structure
+-----------
+
+ mvn -P directory-transcribe -Dscript=deva
+
+or
+
+ mvn -P directory-transcribe
+
+package the war archive
+---------
+
+the war-archive for jetty6 with the name **tipitaka6.war**
+
+ mvn -P package6
+
+ and for jetty7 with the name **tipitaka.war** (not sure if that works because of the gzip filter)
+
+ mvn package
+
+ either archive can be found inside the _target_ directory.
Oops, something went wrong.

0 comments on commit 317ffdb

Please sign in to comment.