pgadmin4/pkg/mac
Dave Page cb880678cc Python 2.6 support is officially deprecated. 2018-12-20 09:15:26 +00:00
..
.gitignore
Info.plist-template_Python
Info.plist-template_Qt5
PkgInfo
README.txt Python 2.6 support is officially deprecated. 2018-12-20 09:15:26 +00:00
build.sh Include a cacert file when needed for the upgrade check. Fixes #3185 2018-07-23 16:15:58 +01:00
codesign-bundle.sh
codesign-dmg.sh
codesign.conf.in
complete-bundle.sh Don't pipe the list of binaries through uniq. 2018-06-14 17:03:16 +01:00
create-dmg.sh
dmg-license.py
framework-config.sh
framework.conf.in
licence.rtf Update copyright notices for 2018. 2018-01-05 10:42:50 +00:00
pgadmin.Info.plist.in

README.txt

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

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

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

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

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

Building:

1. Set the PYTHON_HOME environment variable to the Python root installation directory, e.g.

   export PYTHON_HOME=/System/Library/Frameworks/Python.framework/Versions/2.7

2. Set the QTDIR environment variable to the QT root installation directory, e.g.

   export QTDIR=~/Qt/5.5/clang_64

3. Set the PGDIR environment variable to the PostgreSQL installation directory, e.g.

   export PGDIR=/usr/local/pgsql

4. 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