pgadmin4/pkg/debian
2020-03-19 12:56:39 -04:00
..
build.sh Don't hard code the architecture. 2020-03-19 12:56:39 -04:00
pgadmin4.conf Add experimental scripts for building Debian/Ubuntu packages. 2020-03-12 15:24:58 +00:00
README Update tested distros list. 2020-03-13 12:36:08 +00:00
setup.sh Setup dependencies as required on Ubuntu 16.04 and Debian 9 2020-03-13 11:55:03 +00:00

This directory contains the build runner script for creating .DEB packages for
Debian and Ubuntu. 

Build configuration
===================

To build Debian/Ubuntu packages, first run the setup.sh script as root to
install the required pre-requisites, e.g.

    # pkg/debian/setup.sh

Building packages
=================

To build a set of packages, from the top-level source directory run:

    $ make debian

or

    $ pkg/debian/build.sh

Four .deb packages will be created in the dist/ directory:

pgadmin4_<version>_<distro>_<distro_version>_all.deb
  A convenience package that depends on all the others.

pgadmin4-server_<version>_<distro>_<distro_version>_<arch>.deb
  The core server, e.g. the Python and JS code and the online documentation.

pgadmin4-desktop_<version>_<distro>_<distro_version>_<arch>.deb
  The desktop runtime. Requires the server package.

pgadmin4-web_<version>_<distro>_<distro_version>_<arch>.deb
  The server mode setup script for configuring Apache HTTPD. Requires the 
  server package.

Supported platforms
===================

Debian 9 & 10
Ubuntu 16.04 & 18.04

Warning
=======

These scripts are experimental - use at your own risk!