Netlify is a convenient hosting platform for staticly built sites, like those built with Hugo, as it offers fast and cheap delivery of HTML files. In this tutorial, we will quickly run through how you can take your site from your local computer and push it out to the world-wide web.
You’ll need:
a Netlify account setup
a Github account
Hugo installed on your PC with a site ready to go
Step 1) Create a Repo on Github
If you haven’t already, you will need to create a repository on Github and upload your site to it.
Once that’s done, we’ll move onto the Netlify platform.
Step 3) Create your Site on Netlify
Login, then under the ‘Sites’ tab you should find a ‘Add new site’ button.
Under the menu, click ‘Import an existing project’.
Connect to your Github account by clicking the gray button.
Pick your new repo:
Click ‘Deploy’!
Round-up
It should be as simple as that - there will be some more settings to change afterwards I’m sure. Most people will want to add a custom domain of their own and tweak some of the settings - but as basics go, that’s all there is to it.
Edd is a PHP and Go developer who enjoys blogging about his experiences, mostly about creating and coding new things he's working on and is a big beliver in open-source and Linux.
Create a New Hugo Project
–
You’ve got your great new idea! Now how to get started? If you’re using Hugo as the tool to build your website then this post should be for you.
We’ll be looking at how to create a new basic project and the first few tasks on a clean new site.
You’ll need Hugo installed first, if you don’t then take a look at our guide on installing it.
1. To Begin Using the terminal or command prompt (what ever you decide to call it!
Hello world! Welcome to MakeWithHugo.com
–
This is our very first post on MakeWithHugo.com - where we are going to make tutorials on how to create, work with and adapt websites built with Hugo.
A Bit of Background Hugo is a static site generator built in Go. It is fast and extendable and a good choice for building a static (html-based sites). It does, however, have some nuances that requiring some research as they’re not immediately obvious.