forked from web/portal
replace hugo by a self provided python script
This commit is contained in:
25
README.md
25
README.md
@@ -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.
|
||||
|
||||

|
||||
|
||||
## 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
|
||||
```
|
||||
Reference in New Issue
Block a user