pgadmin4/pkg/mac
Akshay Joshi 102ffd141c Implemented runtime using NWjs to open pgAdmin4 in a standalone window
instead of the system tray and web browser. Used NWjs to get rid of QT
and C++. Fixes #5967

Use cheroot as the default production server for pgAdmin4. Fixes #5017
2021-01-29 13:38:27 +05:30
..
.gitignore Implemented runtime using NWjs to open pgAdmin4 in a standalone window 2021-01-29 13:38:27 +05:30
build-functions.sh Implemented runtime using NWjs to open pgAdmin4 in a standalone window 2021-01-29 13:38:27 +05:30
build.sh Implemented runtime using NWjs to open pgAdmin4 in a standalone window 2021-01-29 13:38:27 +05:30
codesign.conf.in Minor cleanup and modernisation. 2020-05-01 15:14:46 +01:00
dmg-background.png Implemented runtime using NWjs to open pgAdmin4 in a standalone window 2021-01-29 13:38:27 +05:30
dmg-icon.icns Implemented runtime using NWjs to open pgAdmin4 in a standalone window 2021-01-29 13:38:27 +05:30
dmg.DS_Store Implemented runtime using NWjs to open pgAdmin4 in a standalone window 2021-01-29 13:38:27 +05:30
entitlements.plist.in Implemented runtime using NWjs to open pgAdmin4 in a standalone window 2021-01-29 13:38:27 +05:30
Info.plist.in Implemented runtime using NWjs to open pgAdmin4 in a standalone window 2021-01-29 13:38:27 +05:30
licence.rtf Update copyright notices for 2021 2021-01-04 15:34:45 +05:30
pgAdmin4.icns Implemented runtime using NWjs to open pgAdmin4 in a standalone window 2021-01-29 13:38:27 +05:30
README Implemented runtime using NWjs to open pgAdmin4 in a standalone window 2021-01-29 13:38:27 +05:30

Building pgAdmin4.dmg on macOS
==============================

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

1. Yarn & NodeJS

2. PostgreSQL installation
  - PostgreSQL 12 or above from http://www.postgresql.org/

Building:

1. To bundle a different version of Python from the default of 3.9.0, set the
   PGADMIN_PYTHON_VERSION environment variable, e.g:

   export PGADMIN_PYTHON_VERSION=3.8.5

2. If a path different from the default of /usr/local/pgsql for the PostgreSQL
   installation has been used, set the PGADMIN_POSTGRES_DIR environment variable
   appropriately, e.g:

   export PGADMIN_POSTGRES_DIR=/opt/local/pgsql

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

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.