0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-02 06:22:43 +00:00
Files
homebrewery/install/windows/install.ps1
2023-01-23 15:33:00 +13:00

26 lines
696 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.github
cd homebrewery
npm install
npm audit fix
[System.Environment]::SetEnvironmentVariable('NODE_ENV', 'local')
npm start