Commit 5402b2a9 authored by Matija Obreza's avatar Matija Obreza
Browse files

Use Gitlab pages to demo current version

parent e1c156cf
# - compile
- publish
# build:
# stage: compile
# # only:
# # - master
# # - tags
# image: node:12-alpine
# cache:
# paths:
# - node_modules/
# - .awesome-typescript-loader-cache/
# script:
# - yarn
# - yarn build
# artifacts:
# expire_in: 1 day
# paths:
# - dist
stage: publish
- master
# - tags
# dependencies:
# - build
- public
# Make public dir for the first run
- rm -rf public
- mkdir -p public
# Copy files
- cp index.html public/
- find public
- public
expire_in: 30 minute
This is a test.
# Enhance your website with data from Genesys
This package allows for embedding Genesys into your website.
1. Add a few external Javascripts to your page:
The demo at displays data from
`COL003` and `BEL084` in a single website.
## Genesys on your website
1. Add a few Javascripts to your page:
<script src=""></script>
......@@ -33,4 +36,4 @@ This package allows for embedding Genesys into your website.
**Note:** Please contact to obtain API keys for use in your Production environment.
**Note:** Please contact to obtain API keys for use in your environment.
......@@ -18,7 +18,7 @@
<div class="container-fluid">
Welcome to my homepage!
Data from COL003 and BEL084
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur a tellus egestas, efficitur est ac, rhoncus urna. Nullam porttitor diam nec lorem gravida maximus. Phasellus lobortis nisi dui, ut pellentesque ante malesuada vel. Donec tristique sodales velit, eu rhoncus ligula interdum id. Fusce molestie aliquam mauris, vitae iaculis massa sagittis vel. Proin ligula arcu, aliquet in tincidunt et, laoreet eu mi. Integer non gravida nisl. Sed congue magna sed augue porttitor dictum.</p>
<ul class="nav">
......@@ -37,13 +37,13 @@
<p>Interdum et malesuada fames ac ante ipsum primis in faucibus. Quisque cursus convallis fermentum. Fusce varius, massa ut dictum tempor, lacus eros eleifend eros, vel fringilla neque lacus sit amet lacus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Phasellus condimentum tincidunt dolor at interdum. Mauris bibendum tellus quis leo finibus tempus. Nunc aliquam a ligula at mattis. Suspendisse tincidunt felis nec auctor ultrices.</p>
<script src="dist/genesys-deps.js"></script>
<script src="dist/genesys-ui.js"></script>
<script src=""></script>
<script src=""></script>
<script type="text/javascript">
const APIURL = '';
const CLIENTID = '';
const CLIENTKEY = 'gnE1dPz5CWnbn0IsFvL8iSP1QDxBpmU0';
const FILTER = { institute: { code: ['ETH013'] } };
const FILTER = { institute: { code: [ 'COL003', 'BEL084' ] } };
......@@ -51,4 +51,4 @@
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment