2002-12-02 17:02:37 +00:00
|
|
|
|
==============
|
|
|
|
|
ABOUT ANTVILLE
|
|
|
|
|
==============
|
2001-06-20 09:59:23 +00:00
|
|
|
|
|
2002-12-02 17:02:37 +00:00
|
|
|
|
Antville is an open source project aimed to the development of an
|
2003-01-02 19:15:08 +00:00
|
|
|
|
"easy to maintain and use" weblog-hosting system. It can easily host
|
|
|
|
|
up to several hundred or thousand weblogs (the number of weblogs is
|
|
|
|
|
more limited by the site owner's choice and server power than software
|
|
|
|
|
limitations).
|
2001-06-20 09:59:23 +00:00
|
|
|
|
|
2003-01-07 17:28:16 +00:00
|
|
|
|
Antville is entirely written in JavaScript (ECMAScript, to be precise)
|
|
|
|
|
and based on Helma Object Publisher, a powerful and fast scriptable
|
|
|
|
|
open source web application server (which itself is written in Java).
|
|
|
|
|
Antville works with a relational database in the backend.
|
2001-06-20 09:59:23 +00:00
|
|
|
|
|
2003-01-02 19:15:08 +00:00
|
|
|
|
Check out http://project.antville.org/ for more information.
|
2001-06-20 09:59:23 +00:00
|
|
|
|
|
2002-12-02 17:02:37 +00:00
|
|
|
|
============================
|
|
|
|
|
ABOUT HELMA OBJECT PUBLISHER
|
|
|
|
|
============================
|
2001-06-20 09:59:23 +00:00
|
|
|
|
|
2002-12-02 17:02:37 +00:00
|
|
|
|
Helma Object Publisher is a web application server.
|
2001-06-20 09:59:23 +00:00
|
|
|
|
|
2003-01-07 17:28:16 +00:00
|
|
|
|
With Helma Object Publisher (sometimes simply referred to as Helma or
|
2002-12-02 17:02:37 +00:00
|
|
|
|
Hop) you can define Objects and map them to a relational database
|
|
|
|
|
table. These so-called HopObjects can be created, modified and deleted
|
|
|
|
|
using a comfortable object/container model. Hence, no manual fiddling
|
|
|
|
|
around with database code is necessary.
|
2001-06-20 09:59:23 +00:00
|
|
|
|
|
2002-12-02 17:02:37 +00:00
|
|
|
|
HopObjects are extended JavaScript objects which can be scripted using
|
|
|
|
|
server-side JavaScript. Beyond the common JavaScript features, Helma
|
|
|
|
|
provides special "skin" and template functionalities which facilitate
|
|
|
|
|
the rendering of objects via a web interface.
|
2001-06-20 09:59:23 +00:00
|
|
|
|
|
2002-12-02 17:02:37 +00:00
|
|
|
|
Thanks to Helma's relational database mapping technology, HopObjects
|
2003-01-07 17:28:16 +00:00
|
|
|
|
create a hierarchical structure, the URL space of a Helma site. The
|
|
|
|
|
parts between slashes in a Helma URL represent HopObjects (similar to
|
|
|
|
|
the document tree in static sites). The Helma URL space can be thought
|
|
|
|
|
of as an analogy to the Document Object Model (DOM) in client-side
|
2002-12-02 17:02:37 +00:00
|
|
|
|
JavaScript.
|
2001-06-20 09:59:23 +00:00
|
|
|
|
|
|
|
|
|
|
2003-01-07 11:03:43 +00:00
|
|
|
|
======
|
|
|
|
|
STATUS
|
|
|
|
|
======
|
2001-06-20 09:59:23 +00:00
|
|
|
|
|
2002-12-02 17:02:37 +00:00
|
|
|
|
Antville should be considered pre-release quality code. Although it is
|
2003-01-07 17:28:16 +00:00
|
|
|
|
heavily used by several thousands of users at http://www.antville.org
|
2003-01-02 19:15:08 +00:00
|
|
|
|
chances are that there are still bugs hidden somewhere in this
|
|
|
|
|
application (if you found one please report it at
|
|
|
|
|
http://helma.org/bugs).
|
|
|
|
|
|
|
|
|
|
Antville can be used for production purposes, but please mind that the
|
|
|
|
|
creators of Antville and Helma do not take any warranty (whichever
|
|
|
|
|
kind).
|
2002-02-23 21:15:48 +00:00
|
|
|
|
|
2002-12-02 17:02:37 +00:00
|
|
|
|
|
|
|
|
|
===================
|
|
|
|
|
SYSTEM REQUIREMENTS
|
|
|
|
|
===================
|
|
|
|
|
|
|
|
|
|
To run Antville you need Helma Object Publisher (http://helma.org) and
|
2003-01-07 17:28:16 +00:00
|
|
|
|
a relational database in the backend. Antville was tested with MySQL
|
2003-01-02 19:15:08 +00:00
|
|
|
|
(http://www.mysql.com) and Oracle (v.8.1.7). For setting up Helma
|
|
|
|
|
Object Publisher and the database of your choice please refer to their
|
|
|
|
|
installation instructions. Since Antville sends confirmation mails to
|
|
|
|
|
users (i.e. after registration or if they were added to the list of
|
2003-01-07 17:28:16 +00:00
|
|
|
|
members of a site), you'll also need access to an SMTP server.
|
2003-01-02 19:15:08 +00:00
|
|
|
|
|
|
|
|
|
Helma comes with its own embedded webserver (Jetty) so you don't need
|
2003-01-07 17:28:16 +00:00
|
|
|
|
to install one, although you can easily use Apache httpd as front-end
|
|
|
|
|
webserver too (this might be necessary for really big Antville
|
|
|
|
|
installations or if you need advanced features like URL rewriting).
|
2002-12-02 17:02:37 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
============
|
|
|
|
|
INSTALLATION
|
|
|
|
|
============
|
|
|
|
|
|
2003-01-13 11:52:04 +00:00
|
|
|
|
Unpack the distribution file. Move the resulting directory "antville"
|
2003-01-07 11:03:43 +00:00
|
|
|
|
into the directory "apps" of your Helma Object Publisher installation.
|
|
|
|
|
|
2003-01-13 11:52:04 +00:00
|
|
|
|
Inside the directory "antville" you will find a zipped archive called
|
|
|
|
|
"db_support.zip". This archive contains all database-related files,
|
2003-01-07 17:28:16 +00:00
|
|
|
|
ie. several SQL scripts for creating the database needed by the
|
2003-01-13 11:52:04 +00:00
|
|
|
|
application. So first unpack db_support.zip which will create a
|
|
|
|
|
directory called "db_support". Change to that directory.
|
|
|
|
|
|
|
|
|
|
Antville comes with scripts for MySQL (antville_mysql.sql) and for
|
|
|
|
|
Oracle databases (antville_oracle.sql) - the third one,
|
|
|
|
|
antville_mckoi.sql, is only used for the Mckoi database used in the
|
|
|
|
|
AntClick distribution.
|
|
|
|
|
|
|
|
|
|
Each of these scripts are not only creating the tables, indexes and
|
|
|
|
|
initial records, but also the account used by the application to
|
|
|
|
|
communicate with the database. Both the default username and password
|
|
|
|
|
of this account are "antville", so you probably want to change that
|
|
|
|
|
(you should!). Open the appropriate script and scroll down to the
|
|
|
|
|
section called "Database-User". Search for "identified by" and change
|
2003-01-07 17:28:16 +00:00
|
|
|
|
the value in quotes to the password of your choice.
|
|
|
|
|
|
2003-01-13 11:52:04 +00:00
|
|
|
|
Please refer to the documentation of your database on how to run the
|
2003-01-02 19:15:08 +00:00
|
|
|
|
appropriate script. After done so you'll have to tell Antville how it
|
|
|
|
|
can access your database. This is done in a configuration file named
|
2003-01-13 11:52:04 +00:00
|
|
|
|
"db.properties".
|
|
|
|
|
|
|
|
|
|
Antville comes with two templates for db.properties, one for MySQL
|
|
|
|
|
(db.properties.mysql) and one for Oracle (db.properties.oracle). Open
|
2003-01-02 19:15:08 +00:00
|
|
|
|
the template for your database and ensure that the line beginning with
|
|
|
|
|
"antville.url=" points to the server that runs the database (for MySQL
|
2003-01-07 11:03:43 +00:00
|
|
|
|
this will in most cases look like http://localhost:3306/antville,
|
|
|
|
|
assuming that the database is running on the same machine as the
|
|
|
|
|
application).
|
|
|
|
|
|
2003-01-02 19:15:08 +00:00
|
|
|
|
Check that user and password are correct and save the file as
|
2003-01-07 17:28:16 +00:00
|
|
|
|
"db.properties" (without the quotes) in the root directory of the
|
2003-01-07 11:03:43 +00:00
|
|
|
|
Antville application (if it is already existing you can safely
|
2003-01-02 19:15:08 +00:00
|
|
|
|
overwrite it).
|
|
|
|
|
|
2003-01-07 17:28:16 +00:00
|
|
|
|
NOTE: If you're using Oracle you need to install the JDBC driver for
|
|
|
|
|
your database by placing the appropriate zip file into the
|
2003-01-13 11:52:04 +00:00
|
|
|
|
subdirectory "lib/ext" located in Helma's installation directory (you
|
|
|
|
|
can download the JDBC driver for your Oracle-database at
|
|
|
|
|
http://technet.oracle.com/software/tech/java/sqlj_jdbc/content.html).
|
|
|
|
|
The driver for MySQL is already contained in the distribution of Helma
|
2003-01-07 11:03:43 +00:00
|
|
|
|
Object Publisher.
|
|
|
|
|
|
2003-01-13 11:52:04 +00:00
|
|
|
|
Next you need to copy the default images of Antville to the
|
|
|
|
|
appropriate place. If you are planning to use the embeded webserver of
|
|
|
|
|
Helma Object Publisher, change to the directory "static" of your Helma
|
|
|
|
|
installation. Create a directory called "antville" and in there two
|
|
|
|
|
subdirectories: "images" and "files" (of course you can use any other
|
|
|
|
|
schema too, you just need to adapt the application properties in the
|
|
|
|
|
next step). Unpack the archive "images.zip" located in the application
|
|
|
|
|
directory of Antville to your newly created directory images. NOTE:
|
|
|
|
|
Don't place your images outside the directory "static" if you're using
|
|
|
|
|
Helma's embedded webserver, otherwise it won't find them.
|
|
|
|
|
|
|
|
|
|
Open the file "apps.properties" located in the directory where you
|
|
|
|
|
installed Helma and append the word "antville" (without quotes) in a
|
|
|
|
|
new line. Then start up Helma, and after pointing your browser to
|
|
|
|
|
http://localhost:8080/antville (assuming that Helma is running on the
|
|
|
|
|
same machine and uses port 8080) you should see Antville's welcome
|
|
|
|
|
page. It will tell you about the two additional configuration steps
|
|
|
|
|
necessary: you need to register once to gain system administration
|
2003-01-07 11:03:43 +00:00
|
|
|
|
rights and then you must configure the basic preferences (like
|
2003-01-07 17:28:16 +00:00
|
|
|
|
language settings, date formats etc.)
|
2002-12-02 17:02:37 +00:00
|
|
|
|
|
2003-01-13 11:52:04 +00:00
|
|
|
|
If everything went fine you can safely delete the directory
|
|
|
|
|
"db_support".
|
|
|
|
|
|
2002-12-02 17:02:37 +00:00
|
|
|
|
=====================================
|
|
|
|
|
DOCUMENTATION AND FURTHER INFORMATION
|
|
|
|
|
=====================================
|
|
|
|
|
|
|
|
|
|
To get the documentation and further information regarding Antville
|
|
|
|
|
please refer to:
|
2002-02-23 21:15:48 +00:00
|
|
|
|
http://project.antville.org
|
2003-01-07 17:28:16 +00:00
|
|
|
|
http://macros.antville.org (the documentation of Antville macros)
|
2002-12-02 17:02:37 +00:00
|
|
|
|
http://help.antville.org
|
2002-02-23 21:15:48 +00:00
|
|
|
|
|
2003-01-02 19:15:08 +00:00
|
|
|
|
Feel free to ask any question regarding the application at
|
2002-12-02 17:02:37 +00:00
|
|
|
|
http://project.antville.org
|
2002-02-23 21:15:48 +00:00
|
|
|
|
|
2002-12-02 17:02:37 +00:00
|
|
|
|
For further information about Helma http://helma.org generally is a
|
|
|
|
|
good place. There is also a mailing-list about Helma-related stuff
|
|
|
|
|
available at http://helma.org/lists/listinfo/hop.
|
2001-06-20 09:59:23 +00:00
|
|
|
|
|
|
|
|
|
|
2002-12-02 17:02:37 +00:00
|
|
|
|
==================================
|
|
|
|
|
BUG REPORTING AND FEATURE REQUESTS
|
|
|
|
|
==================================
|
|
|
|
|
|
2003-01-07 11:03:43 +00:00
|
|
|
|
If you find any bug please report it at http://helma.org/bugs. Please
|
|
|
|
|
post feature requests or proposals to http://project.antville.org.
|
|
|
|
|
Since Antville is open-source, you're definetly encouraged to modify
|
|
|
|
|
the application, but please keep us informed on what you do/did
|
|
|
|
|
(either by posting at http://project.antville.org or by sending a mail
|
|
|
|
|
to antville@helma.org). For those of you who demonstrated a commitment
|
|
|
|
|
to collaborative open- source development through sustained
|
|
|
|
|
participation and contributions within the development of Antville,
|
|
|
|
|
there will also be other ways to participate.
|
2002-12-02 17:02:37 +00:00
|
|
|
|
|
|
|
|
|
--
|
2002-12-01 20:19:30 +00:00
|
|
|
|
<EFBFBD> 2002, antville@helma.org
|
2002-12-02 17:02:37 +00:00
|
|
|
|
http://project.antville.org
|
|
|
|
|
|
2003-01-13 11:52:04 +00:00
|
|
|
|
This document was last modified on Tuesday 12 January 2003 by
|
2002-12-02 17:02:37 +00:00
|
|
|
|
robert@helma.org
|