New to Hugo?
If you are new to Hugo, you should go through an introductory phase prior to installing the theme. Before creating the project, we recommend you explore the following links:
- First of all, check our Hugo Guide. (Required)
- You can learn more about Hugo from the Official Hugo Documentation.
- For more clarification, you can check the Video Tutorials
You may skip this step and move to the next page if you don’t wish to maintain Hugo locally.
Create A New Project
-
Launch the Terminal and go to the specific location where you prefer to run your site.
-
Use the following command to create a new site. It will add a folder with your given PROJECT NAME.
hugo new site my-project
Setup Your Project With Reader
-
Unzip the downloaded file, and you will get Reader in the themes folder.
-
Copy the
themes/reader-hugo
into themy-project/themes
folder so that you end up with a folder structure likemy-project/themes/reader-hugo/
-
Copy all files from the
exampleSite
folder into the project directory (my-project/
). It will overwrites existing files and folders. You can delete theexampleSite
folder afterward. -
Navigate to the project directory (In this example, its
my-project
)cd my-project
-
Run Hugo to serve your project.
hugo server
-
Now, you get a generated URL and open it in your browser. The default URL looks like this localhost:1313.
If your website doesn’t serve on your localhost, then check the theme
name is correct in config/_default/config.toml
file. Then run hugo server
command again.
Video documentation
You may find the following video tutorial helpful in setting up your next project. As an example, we’ll utilize our Biztrox theme.