Skip to content
This repository was archived by the owner on Nov 21, 2019. It is now read-only.

Latest commit

 

History

History
33 lines (26 loc) · 627 Bytes

File metadata and controls

33 lines (26 loc) · 627 Bytes

osdu-tutorials-react

OSDU frontend tutorials in React

How to run

Go to 'quickstart' folder and execute the following commands. Install dependencies with 'npm ci' and run application with 'npm start' command.

npm ci
npm run

How to change backend host and port

Create .env file and define the following variables:

SERVER_HOST=backend
SERVER_PORT=8080

Note: when using docker-compose to define and run both UI and backend, the value of SERVER_HOST must be the same as the name of service for your backend:

services:
  backend:
    ...
  ui:
    ...
    depends_on:
      - backend