Modified:
/HowToBuildAndInstall.wiki
=======================================
--- /HowToBuildAndInstall.wiki Tue Nov 24 10:06:32 2009
+++ /HowToBuildAndInstall.wiki Tue Nov 24 10:27:38 2009
@@ -7,9 +7,11 @@
= Required software =
-First of all you need to install the required software for running
MiniMark:
-
- * [http://java.sun.com/javase/downloads/widget/jdk6.jsp JDK 6 Update
17], or successive;
+First of all you need to install the required software for building and
running MiniMark:
+
+ * [http://java.sun.com/javase/downloads/widget/jdk6.jsp JDK 6 Update
17], or successive
+ * [http://mercurial.selenic.com Mercurial 1.3.1], or successive
+ * [http://maven.apache.org Maven 2.0.10]
* [http://tomcat.apache.org/download-60.cgi Tomcat 6.x]
* A Relational DBMS. Minimark is developed and tested on
[http://www.postgresql.org PostgreSQL 8.3], but any
[https://www.hibernate.org/80.html Hibernate supported DBMS] should work as
well.
@@ -17,9 +19,29 @@
# [http://jdbc.postgresql.org/download.html Download] the PostgreSQL
JDBC Driver, or any JDBC Driver appropriate for your DBMS
# Put the JAR file in the {{{<CATALINA_HOME>/lib}}} directory, being
{{{<CATALINA_HOME>}}} the directory where you installed Tomcat
+
+= Create a database in your DBMS =
+
+If you are using PostgreSQL:
+
+{{{
+postgres@yourhost:~$ createuser -P minimark
+Enter password for new role:
+Conferma password:
+Shall the new role be a superuser? (s/n) n
+Shall the new role be allowed to create databases? (s/n) n
+Shall the new role be allowed to create more new roles? (s/n) n
+postgres@yourhost:~$ createdb -O minimark -E UTF-8 minimark
+}}}
= Checkout the Minimark source code =
{{{hg clone https://minimark.googlecode.com/hg/ minimark}}}
-If you don't have Mercurial ({{{hg}}}) already installed, you need to
download and install it.
+If you don't have [http://mercurial.selenic.com Mercurial] ({{{hg}}})
already installed, you need to download and install it.
+
+Then go to the root directory of the project:
+
+{{{cd minimark/minimark}}}
+
+You'll recognize this root directory for the presence of a {{{build.xml}}}
file.