2019-12-22 10:44:39 +01:00
2019-12-22 10:44:39 +01:00
2019-12-18 11:37:56 +01:00
2019-12-19 15:25:05 +01:00
2019-12-19 15:25:05 +01:00
2019-12-19 15:25:05 +01:00
2019-12-19 15:25:05 +01:00
2019-12-18 11:37:56 +01:00
2019-12-22 10:43:47 +01:00

Ecogood Portal Page

This SPA shows a list of available web applications of ecogood.

screenshot

Features:

  • responsive layout
  • generated static website powered by Hugo
  • Multi language support
  • Apache based basic Authentication included

Development

A live server can be started as usual with hugo:

hugo server

Add a new language $lang

There is only one content page which contains all languages in the front matter. However hugo requires to have a seperate content document per language. Thus they are simply duplicated by a soft link.

ln -s content/index.en.md content/index.${lang}.md

Within that page the translation has to be added in the front matter.

Deployment

The build and deploy workflow is provided by the contained shell script build+deploy.sh.

Tasks:

  • clean the output folder
  • build the project
  • upload to the remote SSH target
chmod +x build+deploy.sh
./build+deploy.sh
Description
Portal page acting as starter into the ECG web services
Readme 1.2 MiB
Languages
CSS 39.3%
HTML 32.8%
Python 20.4%
Shell 7.5%