replace hugo by a self provided python script

This commit is contained in:
Thomas Dedek
2020-04-09 11:39:01 +02:00
parent 288b31309c
commit 83c2db9dca
9 changed files with 87 additions and 56 deletions

View File

@@ -1,34 +1,31 @@
# Ecogood Portal Page
This <abbr title="Single Page Application">SPA</abbr> shows a list of available web applications of ecogood.
This <abbr title="Single Page Application">SPA</abbr> shows a list of the available ECG web applications.
![screenshot](docs/screenshot.png "Screenshot")
## Features
- generated static website powered by [Hugo](https://gohugo.io/)
- generated static website powered a small python script
- easily extensible by a YAML definition
- responsive layout
- Respects Privacy and Security by setting CSP and RP
- Apache based basic Authentication included
- Respects Privacy and Security by being ready for CSP and RP
## Development
## Build
A live server can be started as usual with hugo:
hugo server
python3 build.py items.yml
## Deployment
The build and deploy workflow is provided by the contained shell script `build+deploy.sh`.
**Tasks:**
```bash
chmod +x build+deploy.sh
./build+deploy.sh
```
**Executed tasks:**
- clean the output folder
- build the project
- upload to the remote SSH target
```bash
chmod +x build+deploy.sh
./build+deploy.sh
```