From c50e78b8974c5da3feb32ff65d5deeb4d44be47d Mon Sep 17 00:00:00 2001 From: GlenDC Date: Tue, 14 Jan 2014 10:18:07 +0100 Subject: [PATCH 1/3] Added batch file for Windows developers. The file allows you to start the develop environment in one click. --- SDE.bat | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 SDE.bat diff --git a/SDE.bat b/SDE.bat new file mode 100755 index 000000000..755a06834 --- /dev/null +++ b/SDE.bat @@ -0,0 +1,5 @@ +set "mongo_d_location=E:\GameDevelopment\db" +start cmd.exe cmd /c call nodemon -w server -w server_config.js +start cmd.exe cmd /c call brunch w^ + & mongod --setParameter textSearchEnabled=true^ + --dbpath %mongo_d_location% \ No newline at end of file From b7986a94f498258ef4280c313a250110906f59fa Mon Sep 17 00:00:00 2001 From: GlenDC Date: Tue, 14 Jan 2014 10:18:07 +0100 Subject: [PATCH 2/3] Added batch file for Windows developers. The file allows you to start the develop environment in one click. --- SDE.bat | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 SDE.bat diff --git a/SDE.bat b/SDE.bat new file mode 100755 index 000000000..755a06834 --- /dev/null +++ b/SDE.bat @@ -0,0 +1,5 @@ +set "mongo_d_location=E:\GameDevelopment\db" +start cmd.exe cmd /c call nodemon -w server -w server_config.js +start cmd.exe cmd /c call brunch w^ + & mongod --setParameter textSearchEnabled=true^ + --dbpath %mongo_d_location% \ No newline at end of file From 2e762f0920e06903e24cee238401b32bff3038c9 Mon Sep 17 00:00:00 2001 From: GlenDC Date: Tue, 14 Jan 2014 19:00:38 +0100 Subject: [PATCH 3/3] Applied code review on pull request #185 --- .gitignore | 3 +++ SDE.bat => scripts/windows/SCOCODE.bat | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) rename SDE.bat => scripts/windows/SCOCODE.bat (65%) diff --git a/.gitignore b/.gitignore index 153e1e0ee..ba0802aa6 100644 --- a/.gitignore +++ b/.gitignore @@ -74,4 +74,7 @@ db/ bin/node/ bin/mongo/ +# windows +/SCOCODE.bat + ### If you add something here, copy it to the end of .npmignore, too. ### diff --git a/SDE.bat b/scripts/windows/SCOCODE.bat similarity index 65% rename from SDE.bat rename to scripts/windows/SCOCODE.bat index 755a06834..55686d400 100755 --- a/SDE.bat +++ b/scripts/windows/SCOCODE.bat @@ -1,5 +1,5 @@ -set "mongo_d_location=E:\GameDevelopment\db" +set "mongo_db_location=MONGO_DB_PATH_HERE" start cmd.exe cmd /c call nodemon -w server -w server_config.js start cmd.exe cmd /c call brunch w^ & mongod --setParameter textSearchEnabled=true^ - --dbpath %mongo_d_location% \ No newline at end of file + --dbpath %mongo_db_location% \ No newline at end of file