Last active
September 15, 2017 04:30
-
-
Save rroman81/f2a6b8e21b271b8dd11e1451a80c85e6 to your computer and use it in GitHub Desktop.
Boxstarter script to install sitecore dev environment. Requires boxstarter-dev-base, boxstarter-vs2015-withextenstions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install mongodb as a service | |
choco install mongodb -n --version=3.2 | |
mkdir c:\data\db | |
mkdir c:\data\log | |
'systemLog:' > c:\data\mongod.cfg | |
' destination: file' >> c:\data\mongod.cfg | |
' path: c:\data\log\mongod.log' >> c:\data\mongod.cfg | |
'storage:' >> c:\data\mongod.cfg | |
' dbPath: c:\data\db' >> c:\data\mongod.cfg | |
&"C:\Program Files\MongoDB\Server\3.2\bin\mongod.exe" --config "c:\data\mongod.cfg" --install | |
start-service "MongoDB" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment