jpenny1993 / website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

My development portfolio

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.

Deployment status

Netlify Status

Development dependencies

  • Chocolatey (to install Hugo)
  • Hugo (to build the website)
  • NodeJs (for offline hosting during development)

Installing Chocolatey

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'))

Installing Hugo

Copy and paste the below command into an administrative PowerShell terminal.

See Install Hugo for up to date instructions.

choco install hugo -confirm

Installing NodeJS

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

Building the website

The below command builds the website using Hugo.

cd <repo>
hugo

Hosting locally for development

The below command runs the index.js file in node to host a crude http web server.

cd <repo>
node index

About


Languages

Language:JavaScript 100.0%