Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1biJ15-00056T-Hg for pgadmin-hackers@arkaria.postgresql.org; Fri, 09 Sep 2016 10:26:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1biJ15-0006hd-3e for pgadmin-hackers@arkaria.postgresql.org; Fri, 09 Sep 2016 10:26:39 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1biJ14-0006hU-J4 for pgadmin-hackers@postgresql.org; Fri, 09 Sep 2016 10:26:38 +0000 Received: from mail-oi0-x231.google.com ([2607:f8b0:4003:c06::231]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1biJ10-0000WJ-Bp for pgadmin-hackers@postgresql.org; Fri, 09 Sep 2016 10:26:37 +0000 Received: by mail-oi0-x231.google.com with SMTP id s131so126421387oie.2 for ; Fri, 09 Sep 2016 03:26:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Obk8TIi5YrcdzuYEQ90pq5Q976Tb3Trt0pFS8j2ALe8=; b=XGMH4g26TzhstnI0gekcZhvZMpEzsREOPmpyyLoPV0K4QuljadLFtxpD3TSoaS3qc+ IwdrQwqVB4iYI89omAKvGAP4SQYhZ54BjDPxh9qHe0F/nLGYDohvNiI7pkp9ChrgwtCn noIOEL1mJm57W7tXry0dvcBF/Ri3S3sKycYQANgHX/YgVuH+yZpHHdwGLhsu3i4L+Z87 M4smz4UxO/YqygBaqRnXs+VzN0ie5rU53WXKKgnTtPklazsVXJL8wu8Kk93xbSXaoavT 8Zj7UwGmtnHowd3Jh3za2DQjgVP3xPjK868t1Jn7IvKI35gO6Tmo3GUvRvC/rZ8zSVe4 Tq/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Obk8TIi5YrcdzuYEQ90pq5Q976Tb3Trt0pFS8j2ALe8=; b=hMyPzofTY8xSCGD3RbLO1qM6aHN5fq7SIl8wILx26UvpUSwAFUPf6M8hefWlVbQmJ/ gIhFMUDoejdIMKkXje9p8W7znBXsfxiriEID3eObDWJycD9lkn7McBw34X04JhpMvSgI 4ixAS8GWciwLXmSyBf3lcBgdNGVZiRlLc69uAeD+BYDrIxu2tESdsDXYjcSg7Mjw0JSG AFVDBFVteSjnHd+K1c5f0jaP4NDQRkxaA/u+7dS7LaVC2SpSG/wWJG3nOQ/OGKsGWy7x Uff6JIa/MQtu9GKKdtFZwKnYvquav1yV+hLahCIsIOmv/w3iem0Lh3pwEBrhDhxIXE4K 3m2g== X-Gm-Message-State: AE9vXwNX120+JNJveus5uidTzVq+GZ3i+zpEoZKO7m0NcKFuzqiA5qZHL976ctwfP3PqTKeqQfNXPASx9+qE1Q== X-Received: by 10.202.221.194 with SMTP id u185mr3909505oig.99.1473416792124; Fri, 09 Sep 2016 03:26:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.1.203 with HTTP; Fri, 9 Sep 2016 03:26:31 -0700 (PDT) In-Reply-To: <1473408916.3321.15.camel@gunduz.org> References: <1473408916.3321.15.camel@gunduz.org> From: Dave Page Date: Fri, 9 Sep 2016 11:26:31 +0100 Message-ID: Subject: Re: Finalizing pgadmin4 RPM work To: =?UTF-8?B?RGV2cmltIEfDvG5kw7x6?= Cc: pgadmin-hackers Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org Hi On Fri, Sep 9, 2016 at 9:15 AM, Devrim G=C3=BCnd=C3=BCz = wrote: > > Hi, > > I committed pgadmin4 WIP spec file a few days ago, and now I'd like to fi= nalize > 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, rig= ht? > 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=3D1 threads=3D25 WSGIScriptAlias /pgadmin4 /opt/pgAdmin4/web/pgAdmin4.wsgi WSGIProcessGroup pgadmin WSGIApplicationGroup %{GLOBAL} Require all granted Finally; are you building and including the docs? Their location will need to be in the config. --=20 Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company --=20 Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers