In this section, you can learn how to install hugo env, download this theme and import to your project
Downlaod vscode
Navigate to VsCode website, just download in your pc.
Install Hugo environment
In hugo offical website, there are four options to install hugo env which depends on your operation system(OS).
- Install Git
- Install Go version 1.18 or later
- Update your PATH environment variable as described in the Go documentation
Hugo CLI
Create a new site
|
|
Download theme and import to themes folder
You can clone theme project or download zip directly.
After move the “dark-theme” to themes folder, don’t forget setting in config.toml
|
|
Run project
|
|
http://localhost:1313/ is your loacal running port.
Create a post
If you want to write a blog, the command line is:
|
|
Compile and Upload to the cloud
If it’s your first time to commit your changes.
|
|
otherwise, you just commit and push again
|
|
Here is tutorial about how to deploy to the github