Permalink
Browse files

First draft of a QUICKSTART guide.

git-svn-id: file:///home/svn/omero/trunk@3909 05709c45-44f0-0310-885b-81a1db45b4a6
  • Loading branch information...
joshmoore committed Mar 3, 2009
1 parent e6dc24c commit 31342a48b7a7d6677a5881a39bdc8d018584c1b1
Showing with 38 additions and 7 deletions.
  1. +2 −7 README.txt
  2. +36 −0 docs/QUICKSTART.txt
View
@@ -1,14 +1,9 @@
+For the impatient, see docs/QUICKSTART.txt
+
For extensive information on installation and developing omero,
please see the OMERO development Trac:
http://trac.openmicroscopy.org.uk/omero/wiki/OmeroInstall
http://trac.openmicroscopy.org.uk/omero/wiki/OmeroBuild
-
-Quick Build
-===========
-
-ant
-cd dist
-bin/omero admin start
View
@@ -0,0 +1,36 @@
+#!/bin/bash
+
+set -e
+
+#
+# Prerequisites
+#
+java -version
+python --version 2>&1 | grep -E "Python 2.(4|5)"
+icegridnode --version 2>&1 | grep 3.3.0
+glacier2router --version 2>&1 | grep 3.3.0
+psql -U omero -h localhost -l 1> /dev/null
+
+#
+# Build
+#
+if test -e QUICKSTART.txt; then
+ cd ..
+fi
+test -e build.py
+test -e build.xml
+
+./build.py
+cd dist
+
+#
+# Setup database
+#
+bin/omero db script mypassword
+createlang plpgsql omero || echo "Database already ready?"
+psql -U omero -h localhost omero < OMERO4__0.sql
+
+#
+# Start
+#
+bin/omero admin start

0 comments on commit 31342a4

Please sign in to comment.