The shell script (hugoserver.sh
) currently runs. The PowerShell script (hugoserver.ps1
) is throwing errors, as displayed in the output.log
in this gist.
To test, run git clone git@github.com:devopsdays/devopsdays-web.git
and then run one of the above scripts in the cloned directory (note: the hugoserver.sh
script is already part of the directory; the PowerShell script is not).
The result should look like this, if it works:
~/src/devopsdays-web/ [master*] ./hugoserver.sh
hugo-server
hugo-server
Started building site
0 of 2 drafts rendered
0 future content
745 pages created
10 non-page files copied
2 paginator pages created
18 tags created
0 categories created
in 18955 ms
Watching for changes in /site/{data,content,layouts,static,themes}
Serving pages from /site/public
Web Server is available at http://localhost:1313/ (bind address 0.0.0.0)
Press Ctrl+C to stop