pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Update: pgAdmin4 3.0 rpm repo for Fedora 28
3+ messages / 3 participants
[nested] [flat]

* Update: pgAdmin4 3.0 rpm repo for Fedora 28
@ 2018-06-02 11:39 Tal Glozman <glozmantal@gmail.com>
  2018-06-02 13:22 ` Re: Update: pgAdmin4 3.0 rpm repo for Fedora 28 robert <robert@redcor.ch>
  2018-06-04 05:21 ` Re: Update: pgAdmin4 3.0 rpm repo for Fedora 28 Stéphane KANSCHINE <stephane@hexack.fr>
  0 siblings, 2 replies; 3+ messages in thread

From: Tal Glozman @ 2018-06-02 11:39 UTC (permalink / raw)
  To: pgsql-admin@lists.postgresql.org

Hello,

I'm using Fedora 28 and trying to install pgAdmin4 3.0 from the
repositories. The steps in your homepage for fedora say that I have to
install an rpm file, after installing the rpm for Fedora 28 that I can
install pgadmin4 using the DNF command.

I simply can't find and install pgadmin4 using the DNF command. Am I
missing here something?

Best regards,
Tal

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Update: pgAdmin4 3.0 rpm repo for Fedora 28
  2018-06-02 11:39 Update: pgAdmin4 3.0 rpm repo for Fedora 28 Tal Glozman <glozmantal@gmail.com>
@ 2018-06-02 13:22 ` robert <robert@redcor.ch>
  1 sibling, 0 replies; 3+ messages in thread

From: robert @ 2018-06-02 13:22 UTC (permalink / raw)
  To: pgsql-admin@lists.postgresql.org

i never used fedora ..

but here is how I use pgadmin4 on ubuntu as non root in non server mode:

1. install virtualenv wrapper

http://virtualenvwrapper.readthedocs.io/en/latest/install.html

2. create a virtual env environment for pgadmin

     mkvirtualenv -p python3.6 pgadmin

3. start the virtualenv (if not yet started)

     workon pgadmin

4. install pgadmin

     pip install pgadmin4

5. add some configuration to allow pgdmin4 to run in usermode

     cd ~/.virtualenvs/pgadmin/lib/python3.6/site-packages/pgadmin4
     - create config_local.py with the following content
import os
DATA_DIR = os.path.realpath(os.path.expanduser(u'~/.pgadmin/'))
LOG_FILE = os.path.join(DATA_DIR, 'pgadmin4.log')
SQLITE_PATH = os.path.join(DATA_DIR, 'pgadmin4.db')
SESSION_DB_PATH = os.path.join(DATA_DIR, 'sessions')
STORAGE_DIR = os.path.join(DATA_DIR, 'storage')
SERVER_MODE = False

6. create an alias in ~/.bash_aliases to start pgadmin

     alias pg4="workon pgadmin;python 
~/.virtualenvs/pgadmin/lib/python3.6/site-packages/pgadmin4/pgAdmin4.py"

obertHTH

r

step 6 might be different for fedora




pip install pg
On 02.06.2018 13:39, Tal Glozman wrote:
> Hello,
>
> I'm using Fedora 28 and trying to install pgAdmin4 3.0 from the 
> repositories. The steps in your homepage for fedora say that I have to 
> install an rpm file, after installing the rpm for Fedora 28 that I can 
> install pgadmin4 using the DNF command.
>
> I simply can't find and install pgadmin4 using the DNF command. Am I 
> missing here something?
>
> Best regards,
> Tal
>




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Update: pgAdmin4 3.0 rpm repo for Fedora 28
  2018-06-02 11:39 Update: pgAdmin4 3.0 rpm repo for Fedora 28 Tal Glozman <glozmantal@gmail.com>
@ 2018-06-04 05:21 ` Stéphane KANSCHINE <stephane@hexack.fr>
  1 sibling, 0 replies; 3+ messages in thread

From: Stéphane KANSCHINE @ 2018-06-04 05:21 UTC (permalink / raw)
  To: Tal Glozman <glozmantal@gmail.com>; +Cc: pgsql-admin@lists.postgresql.org

Le sam.  2 juin, vers 13:39, Tal Glozman exprimait :

> Hello,

Hey !

> I'm using Fedora 28 and trying to install pgAdmin4 3.0 from the
> repositories. The steps in your homepage [...]

The homepage of pgadmin4 also mentions a dedicated mailing list:
https://www.pgadmin.org/support/list/

I don't use nor Red Hat derivatives, neither pgadmin, so i can't give
you a better answer.

Regards,
-- 
Stéphane KANSCHINE - https://www.hexack.fr./ - https://www.nuajik.io./
@ stephane@hexack.fr
  +33 6 64 31 72 52




^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2018-06-04 05:21 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-06-02 11:39 Update: pgAdmin4 3.0 rpm repo for Fedora 28 Tal Glozman <glozmantal@gmail.com>
2018-06-02 13:22 ` robert <robert@redcor.ch>
2018-06-04 05:21 ` Stéphane KANSCHINE <stephane@hexack.fr>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox