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 Restaurant
Unzip the downloaded file, and you will get Restaurant in the themes folder.
my-project/themesfolder so that you end up with a folder structure like
Copy all files from the
exampleSitefolder into the project directory (
my-project/). It will overwrites existing files and folders. You can delete the
Navigate to the project directory (In this example, its
Run Hugo to serve your project.
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.toml file. Then run
hugo server command again.
You may find the following video tutorial helpful in setting up your next project. As an example, we’ll utilize our Biztrox theme.