STORM now supports the static site generator, Hugo. It is now available from the choice applications you can choose to install when adding a site to your server. Whilst Hugo isn't strictly an application, by selecting it when you add the site to STORM, this will mean that STORM creates a new Hugo environment ready for you to get started with.
What is Hugo?
Hugo is written in Go (Golang) and is technically not a Content Management System (CMS) like WordPress but a static file generator instead. Typically most CMSs, like WordPress, will dynamically load each page each time it’s visited which can take some time depending on the complexity. With Hugo each page is statically written to the hard disk of the server which is much faster to load than running PHP and database queries.
Adding a Hugo site to STORM
You can add a new Hugo site to your STORM server by clicking “Websites” and then “Add Website” from your server’s dashboard.
On the add website page, type your websites domain name into the domain box, then select Hugo from the Application drop down menu, and finally click the create website button.
Make sure you tick "Install application" even if you are starting a new project or migrating an existing site built using Hugo to STORM.
Hugo has a command-line interface which is used for setting up, configuring and testing your Hugo site.
Before you run any commands on your Hugo site you will need to connect via SSH to the server. Every website that gets added to STORM will have its own website level SSH user and it’s important to use this user to run your commands to avoid issues with permissions.
You’ll need to get your IP whitelisted in the server’s firewall before you can connect via SSH. This can be done in the server’s main dashboard by clicking on Security and then by clicking the “Add record” button.
Once you have done this, you can find your SSH login details in your website dashboard under the “SSH” tab. We have a more in-depth, step by step guide for getting connected via SSH here if you need it.
Now that you are connected via SSH as the websites SSH user you can use any of your Hugo commands safely.
For a full list of Hugo commands, please see the following link:
Hugo have their own extensive knowledgebase explaining everything you need to know about Hugo which can be found here: