mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 22:26:56 +00:00
Update MongoDB and PostgreSQL documentation (#993)
* update mongodb and postgresql md * update pg service
This commit is contained in:
committed by
GitHub
parent
1810983a57
commit
52e3e704dd
@@ -3,6 +3,7 @@
|
||||
## Desc: Install MongoDB
|
||||
####################################################################################
|
||||
|
||||
choco install mongodb
|
||||
|
||||
Add-MachinePathItem "$($env:SystemDrive)\Program Files\MongoDB\Server\4.2\bin"
|
||||
Choco-Install -PackageName mongodb
|
||||
$mongoPath = (Get-CimInstance Win32_Service -Filter "Name LIKE 'mongodb'").PathName
|
||||
$mongoBin = Split-Path -Path $mongoPath.split('"')[1]
|
||||
Add-MachinePathItem "$mongoBin"
|
||||
|
||||
Reference in New Issue
Block a user