![]() ![]() ![]() You may not need to use Git and Go if you don’t host your website on Github. The above command installs Git, Go, and Hugo-extended on the Windows system, which is required to run the Hugo framework. Just copy the following command into your PowerShell command line and press Enter. Next, you need to use the scoop command to intsll the Hugo. Press Y and Enter if asked Do you want to change the execution policy?. Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser To install it, just paste the following commands into Powershell and press the Enter ↵ key: Scoop is the Hugo package manager for Windows. Install Scoop package manager for Windows To run it, just click the Start icon, mouse over and right click on Windows PowerShell, and then click “Run as Administrator”, as shown in the screenshot below. If not, you can google and install it from Microsoft. The Hugo framework needs to run some commands through the Windows command terminal called “Windows PowerShell”. If you don’t know what the above title means, you are definitely from a non-computer background. Run “Windows PowerShell” as Administrator Thus my guide may be easier to understand for non-computer background friends. Also I am from non-computer background although I have much more knowledge of computer than many people around me as I studied a lot of computer elective courses at my undergraduate studies at Xi’an Jiaotong Univeristy. My guide is based on the wowchemy guide and I believe my guide is much clearer. ![]() Once again, if you want to host it through Github, you can stop here and refer to the guide here. So I need to install the Hugo framework on my local computer. So what I want is to modify the webpages and then copy them directly to the webdrive of my university server. My old website is hosting through the university server and I have a webdrive within my university network which enables me easily change the content of the webpage. I decided to try Hugo as it is one of the most popular framework I can find through google search. Then I started to notice some website templates used by many data scientists. As I am also using RMarkdown to prepare course materials including slides and assignment, I have the intention to publish some to share with the public. In the learning process, I read a lot of blogs on data sciences and noted that many blogs are using very interactive template, especially suitable for incorporating R or Python code in the web pages. My goal is to eventually become bilingual in both R and Python. Since then, I started to use R for teaching and research, and also gradually move to Python. Since 2017, I started to explore to incorporate data science knowledge into accounting curriculum and have led the efforts in launching the first accounting Masters' degree in Accounting Data & Analytics. I moved the website from HKUST to SMU when I started my academia career in 2003. My first website was built with Frontpage when I started my PhD study at HKUST in 1998. Why did I write this post? This is a long story and I hope to keep it short:-). If you are using Linux, this guide is not for you. If you are using MacOS, this guide may also be relevant although you may need to change some commands. If you plan to host your website on Github, you should refer to the guide here. This is a very detailed guide to install the Hugo framework for building websites through the wowchemy template on your local computer with Windows operating system. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |