forked from p15670423/monkey
Removed code related to running mongodb and db folder creation
This commit is contained in:
parent
73f23ad383
commit
559b61b581
|
@ -176,7 +176,6 @@ function Deploy-Windows([String] $monkey_home = (Get-Item -Path ".\").FullName,
|
|||
} | Select-Object -ExpandProperty Name
|
||||
# Move all files from extracted folder to mongodb folder
|
||||
New-Item -ItemType directory -Path (Join-Path -Path $binDir -ChildPath "mongodb")
|
||||
New-Item -ItemType directory -Path (Join-Path -Path $monkey_home -ChildPath $MONKEY_ISLAND_DIR | Join-Path -ChildPath "db")
|
||||
"Moving extracted files"
|
||||
Move-Item -Path (Join-Path -Path $binDir -ChildPath $mongodb_folder | Join-Path -ChildPath "\bin\*") -Destination (Join-Path -Path $binDir -ChildPath "mongodb\")
|
||||
"Removing zip file"
|
||||
|
|
|
@ -58,7 +58,6 @@ popd || {
|
|||
}
|
||||
|
||||
mkdir -p "${MONGODB_DIR}"/bin
|
||||
mkdir -p "${MONGODB_DIR}"/db
|
||||
cp "${TEMP_MONGO}"/mongodb-*/bin/mongod "${MONGODB_DIR}"/bin/mongod
|
||||
cp "${TEMP_MONGO}"/mongodb-*/LICENSE-Community.txt "${MONGODB_DIR}"/
|
||||
chmod a+x "${MONGODB_DIR}"/bin/mongod
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
@echo Are you sure? (Press Any Key)
|
||||
@pause
|
||||
@rmdir /s /q db
|
||||
@mkdir db
|
|
@ -1,3 +0,0 @@
|
|||
REM - Runs MongoDB Server -
|
||||
@title MongoDB
|
||||
@bin\mongodb\mongod.exe --dbpath db --bind_ip 127.0.0.1
|
|
@ -1,5 +1,3 @@
|
|||
REM - Runs MongoDB Server & Monkey Island Server using built pyinstaller EXE -
|
||||
if not exist db mkdir db
|
||||
start windows\run_mongodb.bat
|
||||
start windows\run_cc_exe.bat
|
||||
start https://localhost:5000
|
||||
start https://localhost:5000
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
REM - Runs MongoDB Server & Monkey Island Server using python -
|
||||
if not exist db mkdir db
|
||||
start windows\run_mongodb.bat
|
||||
pipenv run windows\run_cc.bat
|
||||
start https://localhost:5000
|
||||
|
|
Loading…
Reference in New Issue