Skytools modules use some other code to run, so you need to install the
following dependencies on the system where you want to build and run
-skytool applications.
+skytools based applications.
=== Build dependencies ===
--prefix::
Path prefix where to install skytools files (default: /usr/local)
-
+
--with-python::
Name or full path of the Python executable to use. (default: python)
-
+
--with-pgconfig::
Name or full path to pg_config (default: pg_config)
If asciidoc should be used to re-generate manpages. Required when
building from GIT as the generated pages are not in repo.
+== Building without Makefile ==
+
+It is possible to build and install Python part of Skytools only.
+This is useful when no required build / devel tools (dependencies)
+are available (typically on Windows platform).
+
+Commands to run vary across platforms but usually go like this:
+
+ $ [sudo] python setup_pkgloader.py install
+ $ [sudo] python setup_skytools.py install [--sk3-subdir]
== Documentation ==
But simple nonetheless: install PgQ on the machine where you want to
run it, provider being the straightforward choice. Then install
londiste only on the box from where you want to launch the replication
-process, a good default begin the subscriber box this time.
+process, a good default being the subscriber box this time.
You can then install londiste on provider from the subscriber box with
the +londiste.py+ command line tool.
== Usage ==
Please refer to the documentation.
-
=== PgQ ===
-PgQ is a queuing system written in PL/pgsql, Python and C code. It is
+PgQ is a queuing system written in PL/pgSQL, Python and C code. It is
based on snapshot-based event handling ideas from Slony-I, and is
written for general usage.
Features:
- Tables can be added one-by-one into set.
-- Initial COPY for one table does not block event replay for other
- tables.
+- Initial COPY for one table does not block event replay for other tables.
- Can compare tables on both sides.
Documentation:
- Londiste script usage: doc/londiste3.txt
(also available as `man 1 londiste`)
-- Londiste HOWTOS: doc/howto/
+- Londiste HOWTOs: doc/howto/
=== walmgr ===
== Source tree contents ==
doc/::
- Documentation in asciidoc format. Source for both html
- and man pages.
+ Documentation in AsciiDoc format. Source for both html and man pages.
python/::
Python modules and primary executables - walmgr, londiste, qadmin, pgqadm.
sql/ticker/::
PgQ ticker written in C.
-
+
scripts/::
Python scripts with lesser priority.
debian/::
Debian packaging. This is for creating private packages,
- official Debian packages uses it's own packagin code.
+ official Debian packages use their own packaging code.
misc/::
Random scripts used for building.
5. Apply londiste.sql - this will throw error on CREATE SCHEMA, but should otherwise apply fine.
6. Start pgqd.
-The files mentined above are installed under $PREFIX/share/skytools3/ directory.
+The files mentioned above are installed under $PREFIX/share/skytools3/ directory.