ViiSiX content generate source code by Go Hugo. Contents are written using Markdown.
- Run on your local machine
Go to the source code directory, issue following commands:
a. Using Docker
// Setup Docker image
$ make setup
// Running Hugo web server using Docker
$ make server
b. Without Docker
$ hugo server
Then navigate to http://localhost:1313 to see the website.
- Add content
We have 3 kinds of content:
- blog
- members
- projects
Depend on content type, issue the following commands:
a. With Docker
$ make blog BLOG=nice-blog
$ make project PROJECT=awesome-project
$ make member MEMBER=handsome-sysadmin
b. Without Docker
$ hugo new blog/nice-blog.md
$ hugo new projects/awesome-project
$ hugo new members/handsome-sysadmin
Then you can edit /content/blog/nice-blog.md
, input your content.
- Generate public html files
Go to the source code directory, issue:
a. With Docker
$ make public
b. Without Docker
$ hugo
Static web will be generated at public
directory, you can now upload it
to a web server.