/data-sync-ui

UI for the AeroGear Data Sync server

Primary LanguageJavaScriptApache License 2.0Apache-2.0

AeroGear Sync UI

circle-ci Docker Hub Docker Stars Docker pulls License

The UI for the AeroGear Data Sync Server. Based on React and PatternFly.

Project Info
License: Apache License, Version 2.0
Build: Docker
End User Documentation: https://docs.aerogear.org
Community Documentation: https://aerogear.org
Issue tracker: https://issues.jboss.org/browse/AEROGEAR
Mailing lists: aerogear-dev

Prerequisites

A running PostgreSQL server. To run postgres in a docker container use the following command

docker-compose up

Database credentials can be found in docker-compose.yml

Running

  1. Install the dependencies

    npm install
  2. Build the UI and watch for changes.

    npm run server
  3. Builds the UI in production mode. Use this before pushing a new docker image.

    npm run build

Docker

  1. Build the image

    docker build -t aerogear/sync-ui:latest .
  2. Run the image

    docker run --rm --name sync-ui -p 8000:8000 -d aerogear/sync-ui:latest
  3. Stop the container

    docker stop sync-ui

Configuration

UI server has some environment variables to be set. If they're not set, defaults for development will be used.

  • AUDIT_LOGGING: : If true, audit logs of resolver operations will be logged to stdout. Defaults to true.