From 28ef36a6dc9fe1e337101fd2d97bfb791e2abb6d Mon Sep 17 00:00:00 2001 From: Dimitri Fontaine Date: Fri, 12 Aug 2022 17:32:55 +0200 Subject: [PATCH] README and install docs improvements. --- README.md | 10 ++++++++++ docs/install.rst | 16 ++++++++++++---- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b2af55d..26647fd 100644 --- a/README.md +++ b/README.md @@ -88,3 +88,13 @@ Licence](http://www.postgresql.org/about/licence/). Please see full documentation at [https://pgloader.readthedocs.io/](https://pgloader.readthedocs.io/en/latest/install.html). + +If you're using debian, it's already available: + + $ apt-get install pgloader + +If you're using docker, you can use the latest version built by the CI at +each commit to the master branch: + + $ docker pull ghcr.io/dimitri/pgloader:latest + $ docker run --rm -it ghcr.io/dimitri/pgloader:latest pgloader --version diff --git a/docs/install.rst b/docs/install.rst index b59b211..bb4ce1a 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -16,6 +16,14 @@ official debian repositories, see `packages.debian.org/pgloader`__. __ https://wiki.postgresql.org/wiki/Apt __ https://packages.debian.org/search?keywords=pgloader +RPM packages +------------ + +The Postgres community repository for RPM packages is `yum.postgresql.org`__ +and does include binary packages for pgloader. + +__ https://yum.postgresql.org + Docker Images ------------- @@ -125,7 +133,7 @@ production environments. rpmbuild -ba pgloader.spec Building from sources on macOS ------------------------------- +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ We suppose you already have ``git`` and ``make`` available, if that's not the case now is the time to install those tools. The SQLite lib that comes @@ -154,7 +162,7 @@ Then use the normal build system for pgloader: $ ./build/bin/pgloader --version Building from sources on Windows --------------------------------- +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Building pgloader on Windows is supported (in theory), thanks to Common Lisp implementations being available on that platform, and to the Common Lisp @@ -173,7 +181,7 @@ integration with a windows build host would allow ensuring that we continue to support that target. Building Docker image from sources ----------------------------------- +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ You can build a Docker image from source using SBCL by default:: @@ -184,7 +192,7 @@ Or Clozure CL (CCL):: $ docker build -f Dockerfile.ccl . More options when building from source --------------------------------------- +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The ``Makefile`` target ``save`` knows how to produce a Self Contained Binary file for pgloader, found at ``./build/bin/pgloader``::