pgadmin4/pkg/mac
2020-05-18 11:18:03 +01:00
..
.gitignore Add runtime/pgAdmin4 to .gitignore, and re-order entries for ease of maintenance. 2017-01-16 14:46:44 +00:00
build-functions.sh Only try to run make clean if there is a Makefile present. 2020-05-18 11:18:03 +01:00
build.sh Cleanup and refactor the macOS build scripts. Fixes #5525 2020-05-18 10:22:59 +01:00
codesign.conf.in Minor cleanup and modernisation. 2020-05-01 15:14:46 +01:00
dmg-license.py Apply codestyle checks to all Python code. 2019-03-20 11:17:51 +00:00
framework.conf.in Minor cleanup and modernisation. 2020-05-01 15:14:46 +01:00
Info.plist-template_Python Optionally sign both the Mac app bundle and the disk image. Fixes #1821 2016-10-04 12:51:14 +01:00
Info.plist-template_Qt5 Ensure the Mac Appbundle builds properly with QtWebEngine. 2016-11-17 16:22:45 +00:00
licence.rtf Update copyright notices for 2020. 2020-01-02 14:43:50 +00:00
pgadmin.Info.plist.in Fixed notarization issue on Catalina for pgAdmin4 binaries 2020-02-05 14:00:18 +05:30
PkgInfo Add Mac Appbundle generation support. 2016-06-02 13:56:56 +01:00
README Cleanup and refactor the macOS build scripts. Fixes #5525 2020-05-18 10:22:59 +01:00

Building pgAdmin4.dmg on Mac OS X
=================================

Required Packages (Either build the sources or get them from macports or
similar):

1. Python installation
  - Python 3.4+ or above from https://www.python.org/

2. QT installation
  - Qt 5 from http://www.qt.io/

3. PostgreSQL installation
  - PostgreSQL 9.5 or above from http://www.postgresql.org/

Building:

1. If a value different from the default of /usr/local/python is required, set
   the PGADMIN_PYTHON_DIR environment variable to the Python root installation
   directory, e.g.

   export PGADMIN_PYTHON_DIR=/opt/local

2. If a value different from the default of ~/Qt/5.13.2/clang_64, is required,
   set the PGADMIN_QT_DIR environment variable to the QT root installation
   directory, e.g.

   export PGADMIN_QT_DIR=~/Qt/5.14.2/clang_64

3. If a value different from the default of /usr/local/pgsql is required, set
   the PGADMIN_POSTGRES_DIR environment variable to the PostgreSQL installation
   directory, e.g.

   export PGADMIN_POSTGRES_DIR=/opt/local/pgsql

4. Copy framework.conf.in to framework.conf, and edit the values accordingly.

5. If you want to codesign the appbundle, copy codesign.conf.in to
   codesign.conf and set the values accordingly.

6. To build, go to pgAdmin4 source root directory and execute "make appbundle".
   This will create the python virtual environment and install all the required
   python modules mentioned in the requirements file using pip, build the
   runtime code and finally create the app bundle and the DMG in ./dist
   directory.