From: | Dave Page <dpage(at)pgadmin(dot)org> |
---|---|
To: | pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> |
Cc: | Sandeep Thakkar <sandeep(dot)thakkar(at)enterprisedb(dot)com>, Devrim GÜNDÜZ <devrim(at)gunduz(dot)org> |
Subject: | PACKAGERS BEWARE: Build changes required |
Date: | 2017-06-12 16:02:27 |
Message-ID: | CA+OCxoz4b_vhd7O5KHkhZFPgDG8UOty-n5WKJ+JNs1_u7LQ9PQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
I've just committed a couple of patches that change the requirements
for building pgAdmin for packages:
- You will need node.js and yarn to be installed for building
- During the build process, do something like this:
cd $PGADMIN_SRC/web
yarn install
yarn run bundle
This will create web/node_modules and pgadmin/static/js/generated
directories that will need to be included in packages.
This is part of a numer of in-progress changes:
1) To remove all vendor code from the pgAdmin source tree. Eventually
is should all be installed using Yarn into a vendor/ directory. Each
developer/packager will need to do this.
2) Web-packing of all the JS and CSS code. This will minimise all the
JS/CSS to reduce file transfer sizes, and bundle it together into as
few files as possible to minimise client/server round trips.
3) A move towards React to improve UI rendering/generation etc.
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2017-06-12 16:12:04 | Re: [pgAdmin4] [PATCH] History Tab rewrite in React |
Previous Message | Shruti B Iyer | 2017-06-12 15:43:50 | [pgAdmin4] [PATCH] Translatable Text in Query Results Header |