Skip to content
This repository has been archived by the owner on Nov 21, 2019. It is now read-only.
/ browser Public archive

Serve content read from a Libero API to the public

License

Notifications You must be signed in to change notification settings

libero/browser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Libero browser

Build Status

Serve content read from a Libero API to the public.

Getting started

To run Browser in the dev environment:

  1. Run docker-compose down --volumes --remove-orphans && docker-compose up --build.

  2. Open http://localhost:8080/ to see the homepage.

  3. Open http://localhost:8080/articles/article1 to see the scholarly article article1.

Configuration

The dev environment reads content from a Libero dummy API, using the configuration and data in .docker/api.

Running in production

The application is not yet stable, but Docker images are published (liberoadmin/browser).

To run an image reading from two content services (blog-articles and scholarly-articles), you will need the following configuration:

  • Set the API_URI environment variable to be the root of the Libero API.

  • Create config/packages/libero_page.yaml (either by extending the image or mounting a file):

    libero_page:
        pages:
            homepage:
                path: '/'
                primary_listing: 'scholarly-articles/items'
            content:
                blog-articles:
                    path: '/blog/{id}'
                scholarly-articles:
                    path: '/articles/{id}'

Getting help

About

Serve content read from a Libero API to the public

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages