This is a static site created with Hugo that will hopefully advertise me and my experience to employers, without being a shoddy wordpress site that repeatedly becomes vulnerable overtime.
- Chocolatey (to install Hugo)
- Hugo (to build the website)
- NodeJs (for offline hosting during development)
I use Chocolatey on a regular basis, it is by no means required for installing Hugo.
Copy and paste the below command into an administrative PowerShell terminal.
See Install Chocolatey for Individual Use for up to date instructions.
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
Copy and paste the below command into an administrative PowerShell terminal.
See Install Hugo for up to date instructions.
choco install hugo -confirm
Jchip's fork of nvm allows you to install multiple versions of node and switch between then without requiring administrative rights (I've found this utility to be incredibly valuble when supporting multiple projects that were all developed using different node versions).
Copy and paste the below command into a non-administrative PowerShell terminal.
See Install NVM for up to date instructions.
cd $Env:USERPROFILE;
Invoke-WebRequest https://raw.githubusercontent.com/jchip/nvm/v1.5.4/install.ps1 -OutFile install.ps1;
.\install.ps1 -nvmhome $Env:USERPROFILE\nvm;
del install.ps1
The below command builds the website using Hugo.
cd <repo>
hugo
The below command runs the index.js
file in node to host a crude http web server.
cd <repo>
node index