@@ -4,34 +4,24 @@ This repository contains the website sources for the [Homie Website](https://hom
44including the online validator javascript tool.
55
66The build is triggered by a change in any of the Homie specification respositories
7- and performed by Travis CI . The resulting webpage is uploaded to  
7+ and performed by GitHub Actions . The resulting webpage is uploaded to
88https://github.com/homieiot/homieiot.github.io/tree/master  and is served by GitHub.
99
1010The generator in use is [ Hugo] ( https://gohugo.io/ ) .
1111
12- You can just call the ` ./build.sh `  script within this directory
13- and find the page in the output directory ` site ` .
12+ ## How to build locally  
1413
15- ## Manually generate the webpage  
14+ Just call the ` ./build.sh `  script within this repository. The built website
15+ will be available in the ` ./public `  directory.
1616
17- You need Hugo in the extended version (with sass/scss support).
17+ The only dependency required by the ` ./build.sh `  script is [ Docker] ,
18+ which is used to create a builder image with the actual dependencies
19+ required to build the website (Git, Hugo, Python and the dependencies
20+ for the ` ./grabrepos.py `  script).
1821
19- The git grab utility requires python3. For a non-root environment,
20- it is recommended to create a python virtual environment:
22+ The builder image is then used to build the website.
2123
22- ``` sh 
23- python3 -m venv dependencies
24- source  dependencies/bin/activate
25- ``` 
26- 
27- Install the dependencies ` gitpython ` , ` pyyaml ` ,
28- then run the git grab utility and and hugo last:
29- 
30- ``` 
31- pip install -r requirements.txt 
32- ./grabrepos.py 
33- hugo 
34- ``` 
24+ [ Docker ] : https://www.docker.com 
3525
3626## Upload a manually generated webpage  
3727
0 commit comments