Hi,

We have changed the way we bundle & server the javascript files in pgAdmin4.

It is advisable that as end user you should use python wheel and not the
actual source code,
Download: https://www.postgresql.org/ftp/pgadmin/pgadmin4/v1.6/pip/

If you still want to use source then you need to install nodejs
<https://nodejs.org/en/>, then yarn <https://yarnpkg.com/en/> package
manager.
then by going in to ../pgadmin4/web directory execute following commands,
1) yarn install
2) yarn run bundler

You can now run python pgadmin4.py

--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

On Fri, Jul 14, 2017 at 7:05 PM, Lazaro Garcia <lazaro3...@gmail.com> wrote:

> Thanks for responses, these are the steps I followed, the same steps for
> other versions works well and are in the documentation:
> https://www.pgadmin.org/docs/pgadmin4/dev/server_deployment.html
>
>
>
>
>
> 1.            Download the source.
>
>
>
> 2.            Install the requirements:
>
>
>
> pip install -r /var/www/vhosts/pgadmin4/requirements.txt
>
>
>
> 3.            Create config_local.py
>
>
>
> touch /var/www/vhosts/pgadmin4/web/config_local.py
>
>
>
> 4.            Install pgadmin4
>
>
>
> python /var/www/vhosts/pgadmin4/web/setup.py
>
>
>
> 5.            Configure apache server with new site(pgadmin4)
>
>
>
> Open pgadmin4 in the browser, but after login I cannot add any server and
> the browser console shows errors because some files are missing.
>
>
>
> Regards.
>
>
>
> *De:* Murtuza Zabuawala [mailto:murtuza.zabuaw...@enterprisedb.com]
> *Enviado el:* jueves, 13 de julio de 2017 11:39 p. m.
> *Para:* Lazaro Garcia
> *CC:* Melvin Davidson; PgAdmin Support
> *Asunto:* Re: Can't add a server pgadmin4-1.6
>
>
>
> Hello,
>
>
>
> Could you please let us know the exact steps you followed?
>
>
> --
>
> Regards,
>
> Murtuza Zabuawala
> EnterpriseDB: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>
>
>
> On Fri, Jul 14, 2017 at 1:51 AM, Lazaro Garcia <lazaro3...@gmail.com>
> wrote:
>
> Yes, but the button do nothing. Could the downloaded package be incomplete?
>
>
>
> Download link: https://www.postgresql.org/ftp/pgadmin/pgadmin4/v1.6/
> source/
>
>
>
> The browser console register this error:
>
>
>
> Error: Module name "pgadmin.node.server" has not been loaded yet for
> context: _ http://requirejs.org/docs/errors.html#notloaded
>
> require.min.js (línea 8, col 252)
>
> POST http://dev.pamint.co.cu/misc/ping
>
> 404 Not Found
>
> 16ms
>
> jquery-....min.js (línea 4)
>
> "NetworkError: 404 Not Found - http://dev.pamint.co.cu/misc/ping";
>
> ping
>
> POST http://dev.pamint.co.cu/settings/store
>
> 404 Not Found
>
> 0ms
>
> jquery-....min.js (línea 4)
>
> "NetworkError: 404 Not Found - http://dev.pamint.co.cu/settings/store";
>
>
>
> Regards.
>
>
>
> *De:* Melvin Davidson [mailto:melvin6...@yahoo.com]
> *Enviado el:* jueves, 13 de julio de 2017 03:53 p. m.
> *Para:* Lazaro Garcia
> *CC:* PgAdmin Support
> *Asunto:* Re: Can't add a server pgadmin4-1.6
>
>
>
> *>can´t see the way for adding a server. *
>
>
>
> *Hmm, on bottom right of the image you sent, there is a big icon *
>
> *that says "Add New Server". Have you tried clicking on that?*
>
>
>
> *Melvin Davidson **🎸*
>     Cell 720-320-0155
>
> *I reserve the right to fantasize.  Whether or not you wish to share my
> fantasy is entirely up to you. **[image:
> http://us.i1.yimg.com/us.yimg.com/i/mesg/tsmileys2/01.gif]*
> *www.youtube.com/unusedhero/videos*
> <http://www.youtube.com/unusedhero/videos>
>
> *Folk Alley - All Folk - 24 Hours a day **www.folkalley.com*
> <http://www.folkalley.com>
>
>
>
>
> ------------------------------
>
> On Thursday, July 13, 2017, 3:12:24 PM EDT, Lazaro Garcia <
> lazaro3...@gmail.com> wrote:
>
>
>
>
>
> I have installed pgadmin4 1.6 from source over apache in an Ubuntu Server.
> But a can´t see the way for adding a server. Is this a bug??
>
>
>
> Regards.
>
>
>

Reply via email to