0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-26 22:32:45 +00:00
Files
homebrewery/install/windows/install.ps1
G.Ambatte 458d104866 Fix typo
2023-01-23 18:13:55 +13:00

26 lines
693 B
PowerShell

Write-Host Install Chocolatey
Write-Host Instructions from https://chocolate.org/install
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'))
choco install nodejs --version=16.11.1 -y
choco install mongodb --version=4.4.4 -y
choco install git -y
refreshenv
mkdir C:\Hombrewery
cd C:\Hombrewery
git clone https://github.com/naturalcrit/homebrewery.git
cd homebrewery
npm install
npm audit fix
[System.Environment]::SetEnvironmentVariable('NODE_ENV', 'local')
npm start