This is a Hugo development environment running Hugo v. 0.51
If you are on macOS and using Homebrew, you can install Hugo with the following one-liner: brew install hugo
.
For any reference go to Hugo installation page
Run the command hugo server
to lunch LiveReload as local server, visit http://localhost:1313/ to see the website.
Run hugo server -D
to have content in draft status published, do it and enjoy the typography.md
The command hugo
renders your site into public/ dir and is ready to be deployed to your web server.
For any refercence go to Hugo basic usage page
To create a new content, run the command hugo new FOLDER/FILE-NAME.md
i.e. hugo new faq/what-is-rss.md
. It will make a .md file stored in the relative folder under content
folder.
In front-matte of the new .md file, change the draft
value to false
to publish the post.
In order to test application you need to
- Have Chrome installed
- Install nodeJs
- Install NightWatch, run:
npm -g install nightwatch
-g option makenightwatch
available globally
lunch hugo server
then lunch npm test