microsoft / alguidelines

Best Practices and Design Patterns for the AL Language
https://alguidelines.dev/
MIT License
131 stars 49 forks source link

Install hugo on windows11 #125

Closed TheDoubleH closed 2 years ago

TheDoubleH commented 2 years ago

Instruction for manually install hugo

TheDoubleH commented 2 years ago

Thanks for the proof reading, @JeremyVyska .

waldo1001 commented 2 years ago

I have the feeling this procedure is more difficult than the script @ajkauffmann came up with. MOreover, the current description didn't work for me.

Here's AJ's script:

# SYSTEM PREPARATION #
Set-ExecutionPolicy Bypass -Scope Process -Force
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072
Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
choco install -y nodejs
choco install -y hugo-extended

# RUN INSIDE REPO #
git submodule update --init --recursive --depth 1
npm install

Shall we move to that one?

TheDoubleH commented 2 years ago

I have the feeling this procedure is more difficult than the script @ajkauffmann came up with. MOreover, the current description didn't work for me.

Here's AJ's script:

# SYSTEM PREPARATION #
Set-ExecutionPolicy Bypass -Scope Process -Force
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072
Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
choco install -y nodejs
choco install -y hugo-extended

# RUN INSIDE REPO #
git submodule update --init --recursive --depth 1
npm install

Shall we move to that one?

I think we can ADD that one. I purposefully created the Installation MD file structure, so that different methods could be created.

TheDoubleH commented 2 years ago

Added page describing the install via powershell