Re: Update: pgAdmin4 3.0 rpm repo for Fedora 28

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux