Serve content read from a Libero API to the public.
To run Browser in the dev
environment:
-
Run
docker-compose down --volumes --remove-orphans && docker-compose up --build
. -
Open http://localhost:8080/ to see the homepage.
-
Open http://localhost:8080/articles/article1 to see the scholarly article
article1
.
The dev
environment reads content from a Libero dummy API, using the configuration and data in .docker/api
.
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}'
- Report a bug or request a feature on GitHub.
- Ask a question on the Libero Community Slack.
- Read the code of conduct.