0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-04 19:02:38 +00:00

Add colors to Script titles

This commit is contained in:
G.Ambatte
2023-01-23 22:14:03 +13:00
parent 3d5a8b5627
commit c60be5d24b

View File

@@ -1,51 +1,51 @@
Write-Host Part One Install Write-Host Part One Install -BackgroundColor Black -ForegroundColor Yellow
Write-Host ================ Write-Host ================ -BackgroundColor Black -ForegroundColor Yellow
Write-Host Install Chocolatey Write-Host Install Chocolatey -BackgroundColor Black -ForegroundColor Yellow
Write-Host Instructions from https://chocolate.org/install 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')) 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 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 choco install mongodb --version=4.4.4 -y
Write-Host Install GIT Write-Host Install GIT -BackgroundColor Black -ForegroundColor Yellow
choco install git -y choco install git -y
Write-Hose Refresh Environment Write-Host Refresh -BackgroundColor Black -ForegroundColor Yellow
Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1" Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
Update-SessionEnvironment Update-SessionEnvironment
Write-Host Create Homebrewery directory - C:\Homebrewery Write-Host Create Homebrewery directory - C:\Homebrewery -BackgroundColor Black -ForegroundColor Yellow
mkdir C:\Hombrewery mkdir C:\Hombrewery
cd 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 git clone https://github.com/naturalcrit/homebrewery.git
Write-Host Install Homebrewery files Write-Host Install Homebrewery files -BackgroundColor Black -ForegroundColor Yellow
cd homebrewery cd homebrewery
npm install npm install
npm audit fix 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') [System.Environment]::SetEnvironmentVariable('NODE_ENV', 'local')
Write-Host INSTALL COMPLETE 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 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 ================================================================================================== Write-Hose ================================================================================================== -BackgroundColor Black -ForegroundColor Yellow
Write-Host Start Homebrewery Write-Host Start Homebrewery -BackgroundColor Black -ForegroundColor Yellow
npm start npm start