mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 23:58:02 -05:00
Update install-mongodb.ps1
I changed the link, but the link is just for 64 bit systems...I don't know if it will work with 32 bit systems
This commit is contained in:
parent
acbdabe5f7
commit
b4a39c9b04
1 changed files with 3 additions and 3 deletions
|
@ -2,9 +2,9 @@ Set-ExecutionPolicy RemoteSigned
|
|||
|
||||
$mongoDbPath = "C:\MongoDB"
|
||||
$mongoDbConfigPath = "$mongoDbPath\mongod.cfg"
|
||||
$url = "http://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-2.4.9.zip"
|
||||
$url = "http://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-2.8.0-rc4.zip"
|
||||
$zipFile = "$mongoDbPath\mongo.zip"
|
||||
$unzippedFolderContent ="$mongoDbPath\mongodb-win32-x86_64-2008plus-2.4.9"
|
||||
$unzippedFolderContent ="$mongoDbPath\mongodb-win32-x86_64-2008plus-2.8.0-rc4.zip"
|
||||
|
||||
if ((Test-Path -path $mongoDbPath) -eq $True)
|
||||
{
|
||||
|
@ -36,4 +36,4 @@ Remove-Item $zipFile -recurse -force
|
|||
|
||||
& $mongoDBPath\bin\mongod.exe --config $mongoDbConfigPath --install
|
||||
|
||||
& net start mongodb
|
||||
& net start mongodb
|
||||
|
|
Loading…
Reference in a new issue