Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 1.6 KB

README.md

File metadata and controls

47 lines (30 loc) · 1.6 KB

Build UI - prestd server (PostgreSQL ➕ REST)

Build UI, is "Django Admin" like created in React to support prestd interactions.

How use it

We use (and recommend) node version 14, to avoid messing up your environment it is recommended to use a name version control, e.g. nvm:

nvm install $(cat .nvmrc) # or nvm use $(cat .nvmrc)

buildui depends on some services (postgresql and prestd server), to simplify the creation of your environment we recommend to use docker, to make it even easier we wrote a docker compose (contained here in the repository):

docker-compose up -d postgres prestd

To install the libraries on your node (we use yarn):

yarn install
yarn dev -p 3001 # the default next port (3000) we use in prestd

If you want to set the prestd address use the PREST_URL environment variable:

PREST_URL=<your-prest-uri> yarn dev -p 3001

<your-prest-uri>: if you ran prestd via docker the url will be http://127.0.0.1:3000

How use Docker

buildui is under development, we have not yet made a docker image available

soon docker image:

docker pull ghcr.io/prest/buildui
docker run -it -e PREST_URL=<your-prest-uri> -p 3001:3001 ghcr.io/prest/buildui

Issues

The issue listing should be kept in the "main" repository (api server), centralizing all demands helps us give visibility to all products