From c60be5d24b0166932189b5fb8b8eb404bc6ff1e8 Mon Sep 17 00:00:00 2001 From: "G.Ambatte" Date: Mon, 23 Jan 2023 22:14:03 +1300 Subject: [PATCH] Add colors to Script titles --- install/windows/install.ps1 | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/install/windows/install.ps1 b/install/windows/install.ps1 index 9dd0d3f5f..67655b7d5 100644 --- a/install/windows/install.ps1 +++ b/install/windows/install.ps1 @@ -1,51 +1,51 @@ -Write-Host Part One Install -Write-Host ================ -Write-Host Install Chocolatey -Write-Host Instructions from https://chocolate.org/install +Write-Host Part One Install -BackgroundColor Black -ForegroundColor Yellow +Write-Host ================ -BackgroundColor Black -ForegroundColor Yellow +Write-Host Install Chocolatey -BackgroundColor Black -ForegroundColor Yellow +Write-Host Instructions from https://chocolate.org/install -BackgroundColor Black -ForegroundColor Yellow 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')) -Write-Host Install Node JS v16.11.1 +Write-Host Install Node JS v16.11.1 -BackgroundColor Black -ForegroundColor Yellow choco install nodejs --version=16.11.1 -y -Write-Host Install MongoDB v 4.4.4 +Write-Host Install MongoDB v 4.4.4 -BackgroundColor Black -ForegroundColor Yellow choco install mongodb --version=4.4.4 -y -Write-Host Install GIT +Write-Host Install GIT -BackgroundColor Black -ForegroundColor Yellow choco install git -y -Write-Hose Refresh Environment +Write-Host Refresh -BackgroundColor Black -ForegroundColor Yellow Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1" Update-SessionEnvironment -Write-Host Create Homebrewery directory - C:\Homebrewery +Write-Host Create Homebrewery directory - C:\Homebrewery -BackgroundColor Black -ForegroundColor Yellow mkdir C:\Hombrewery cd C:\Hombrewery -Write-Host Download Homebrewery project files +Write-Host Download Homebrewery project files -BackgroundColor Black -ForegroundColor Yellow git clone https://github.com/naturalcrit/homebrewery.git -Write-Host Install Homebrewery files +Write-Host Install Homebrewery files -BackgroundColor Black -ForegroundColor Yellow cd homebrewery npm install npm audit fix -Write-Host Set install type to 'local' +Write-Host Set install type to 'local' -BackgroundColor Black -ForegroundColor Yellow [System.Environment]::SetEnvironmentVariable('NODE_ENV', 'local') -Write-Host INSTALL COMPLETE -Write-Host To start Homebrewery in the future, open a terminal in the Homebrewery directory and run npm start -Write-Hose ================================================================================================== +Write-Host INSTALL COMPLETE -BackgroundColor Black -ForegroundColor Yellow +Write-Host To start Homebrewery in the future, open a terminal in the Homebrewery directory and run npm start -BackgroundColor Black -ForegroundColor Yellow +Write-Hose ================================================================================================== -BackgroundColor Black -ForegroundColor Yellow -Write-Host Start Homebrewery +Write-Host Start Homebrewery -BackgroundColor Black -ForegroundColor Yellow npm start \ No newline at end of file