New to Hugo?
- Please check the Official Hugo Documentation.
- You can also check this Video Tutorials
- Or you can check our Hugo Guide.
If you don’t want to manage Hugo locally, then you can skip this process and visit the next page
Create A New Project
- Open Terminal and go to the location where you want to run your site.
- Create a new site with this command. It will add a folder with your PROJECT NAME
hugo new site my-project
Setup Your Project With Redlab
- Unzip the downloaded file, and you will get Redlab in the themes folder.
- Copy the
themes/redlab-hugo
into themy-project/themes
folder so that you end up with a folder structure likemy-project/themes/redlab-hugo/
- Copy all files from the
exampleSite
folder into the project directory (my-project/
). It overwrites existing files and folders. You can delete theexampleSite
folder afterward.
- Go to the project directory (In our case, it’s
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 in your localhost, then check the theme
name is correct in config.toml
file. Then run hugo server
command again.
Video documentation
Here is a video tutorial that might help you to set up your project. We used our Biztrox theme as an example.