public inbox for [email protected]
help / color / mirror / Atom feedFrom: Dave Page <[email protected]>
To: Devrim Gündüz <[email protected]>
Cc: pgadmin-hackers <[email protected]>
Subject: Re: Finalizing pgadmin4 RPM work
Date: Fri, 9 Sep 2016 11:26:31 +0100
Message-ID: <CA+OCxoyaje=sC0VwZjYVW720A_MveTZMkLyLmQ-Sd5W26H=ZNw@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgadmin-hackers>
Hi
On Fri, Sep 9, 2016 at 9:15 AM, Devrim Gündüz <[email protected]> wrote:
>
> Hi,
>
> I committed pgadmin4 WIP spec file a few days ago, and now I'd like to finalize
> the packaging.
Cool.
> Right now, we have 2 packages:
>
> * pgadmin4-1.0-rc1_1.f24.x86_64 , includes:
> /usr/pgadmin4-1.0/runtime/pgAdmin4
> /usr/pgadmin4-1.0/runtime/pgadmin4.ini
>
> * pgadmin4-web-1.0-rc1_1.f24.noarch , includes:
> - the rest.
>
> So, what is next? I assume I'd need to add a unit file / init script, right?
> Anything I'm missing?
For users to run in desktop mode, nothing else should be required,
except possibly a shortcut to the runtime executable.
For all users, a config_distro.py file may be needed to to override
any of the default config settings with distro specific values.
For users running in web mode, an Apache HTTPD config snippet should
be adding in /etc/httpd/conf.d. That should look something like this
(for httpd 2.4 - the Require All Granted will be different on earlier
version):
WSGIDaemonProcess pgadmin processes=1 threads=25
WSGIScriptAlias /pgadmin4 /opt/pgAdmin4/web/pgAdmin4.wsgi
<Directory /opt/pgAdmin4/web>
WSGIProcessGroup pgadmin
WSGIApplicationGroup %{GLOBAL}
Require all granted
</Directory>
Finally; are you building and including the docs? Their location will
need to be in the config.
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
--
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers
view thread (12+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: Finalizing pgadmin4 RPM work
In-Reply-To: <CA+OCxoyaje=sC0VwZjYVW720A_MveTZMkLyLmQ-Sd5W26H=ZNw@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox