From: | Ibrahim Shaame <ishaame(at)gmail(dot)com> |
---|---|
To: | 王荣鑫 <mithra(at)qq(dot)com> |
Cc: | Ron <ronljohnsonjr(at)gmail(dot)com>, pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Building pgadmin4 on Slackware |
Date: | 2019-01-28 21:11:49 |
Message-ID: | CAJOWwD6hATFNf4NjG=HU=4dTUVNJ0r3VbQkjc5Vf8u1i7sHrhA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Thank you for the response. I have found pgadmin4 was in building
environment directory:
../.local/share/virtualenvs/pgadmin4-mudXvrJT/lib/python3.6/site-packages/pgadmin4.
I have tried to run setup.py. After installing in between the numerous
dependencies, it ended telling: pgAdmin 4 - Application Initialisation. I
wonder what should I do, as the setup on pgadmin doc does not give much
information on compiling it. It says: "
1.
Create a config_local.py file alongside the existing config.py file.
2.
Edit config_local.py and add the following settings. In most cases, the
default file locations should be appropriate:
*NOTE: You must ensure the directories specified are writeable by the
user that the web server processes will be running as, e.g. apache or
www-data.*
LOG_FILE = '/var/log/pgadmin4/pgadmin4.log'SQLITE_PATH =
'/var/lib/pgadmin4/pgadmin4.db'SESSION_DB_PATH =
'/var/lib/pgadmin4/sessions'STORAGE_DIR = '/var/lib/pgadmin4/storage'
1.
Run the following command to create the configuration database:
# python setup.py
But after running that setup I don't see any of the above mentioned (in 2.)
files
Ron, I quite at ease with Slackware which is my preferred distribution.
What I need is just clear instructions on how to build pgadmin from sources.
Thanks
Ibrahim Shaame
On Mon, Jan 28, 2019 at 1:44 AM 王荣鑫 <mithra(at)qq(dot)com> wrote:
>
>
> /usr/lib/python2.7/site-packages/pgadmin4
>
> you can find / -name pgadmin4
>
>
> ------------------ 原始邮件 ------------------
> *发件人:* "Ron"<ronljohnsonjr(at)gmail(dot)com>;
> *发送时间:* 2019年1月28日(星期一) 凌晨1:47
> *收件人:* "pgsql-admin"<pgsql-admin(at)lists(dot)postgresql(dot)org>;
> *主题:* Re: Building pgadmin4 on Slackware
>
> On 1/27/19 10:46 AM, Ibrahim Shaame wrote:
> > I have created a python environment and have installed pgdmin4 using
> pip3.
> > I get the message that pgadmin4 for was successfully installed, but I
> > cannot run it as I don't know where it is installed. In project
> directory
> > I created ./pgadmin4 there are only two files: Pipfile Pipfile.lock,
> > while in the $ user directory there are .local/bin lib64 and share
> > sub-directories. Descending in them they seem to me to be files for the
> > environment.
> > Excuse me for my ignorance, I don't know much about python. I had to use
> > it only because there is no readily available distribution of pgadmin4
> for
> > Slackware.
> > Please help.
>
> You could always "find" it...
>
> sudo find / -name pgadmin4
>
> Note that since Slackware is for experts, it might behoove you to run
> Ubuntu
> or RHEL.
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Purav Chovatia | 2019-01-29 07:37:15 | Re: IO scheduler recommendation |
Previous Message | Cory Nemelka | 2019-01-28 19:02:58 | Fwd: Creation of temporary tables on a publisher |