Skip to content

MarkusKonk/o2r-UI

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

o2r-UI

This project is a re-implementation of the o2r-platform (https://github.com/o2r-project/o2r-platform) and thus in progress. The original platform was based on AngularJS and is still working. But we decided to switch to React in order to have a more current software. Hence, in case you would like to try out, please check https://github.com/o2r-project/o2r-platform.

Development environment with Docker Compose

You can start all required o2r microservices (using latest images from Docker Hub) with just two commands using docker-compose (version 1.20.0+) and Docker (version 1.18.0+).

First, read the instructions on "Basics" and "Prerequisites" to prepare your host machine in the reference-implementation project.

This project contains one docker-compose configuration (file ui/docker-compose.yml) to run all microservices & databases, and mount the client application directly from the source directory client. If you see an error related to the MongoDB or HTTP request timeouts during the first "up", abort the execution, then try again.

UI container

The container for the UI is built locally based on ui/Dockerfile. Only the directory /ui is mounted into the container, so if dependencies in ui/package.json change, you must update the container with docker-compose build ui.

Running the platform

cd ui/
docker-compose up

The platform is available at http://localhost and the API at http://localhost/api.

Accessing the API directly

  1. Click the "Log in" button in the UI
  2. Obtain the authentication token by

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 91.1%
  • JavaScript 7.2%
  • Other 1.7%