diff --git a/scripts/windows/coco-dev-setup/batch/localisation/en.coco b/scripts/windows/coco-dev-setup/batch/localisation/en.coco index 90be92c9f..0ed0b1086 100755 --- a/scripts/windows/coco-dev-setup/batch/localisation/en.coco +++ b/scripts/windows/coco-dev-setup/batch/localisation/en.coco @@ -41,6 +41,15 @@ bashp32=Git bash is by default installed at 'C:\Program Files\Git'. bashq=Please enter the full path where git bash is installed or just press enter if it's in the default location ssh=Do you want to checkout the repository via ssh? +[npm] + install=Installing bower, brunch, nodemon and sendwithus... + binstall=Installing bower packages... + sass=Installing sass... + npm=Installing npm... + brunch=Starting brunch.... + mongodb=Setting up a MongoDB database for you... + database=Downloading the last version of the CodeCombat database... + script=Preparing the automatic startup script for you... [error] path=That path already exists, are you sure you want to overwrite it? exist=That path doesn't exist. Please try again... @@ -52,6 +61,6 @@ 1=From now on you can start the dev. environment at 2=the touch of a single mouse click. 3= 1) Just double click - 4=and let the environment start up. + 4= and let the environment start up. 5= 2) Now just open 'localhost:3000' in your prefered browser. 6=That's it, you're now ready to start working on CodeCombat! \ No newline at end of file diff --git a/scripts/windows/coco-dev-setup/batch/scripts/npm_and_brunch_setup.bat b/scripts/windows/coco-dev-setup/batch/scripts/npm_and_brunch_setup.bat index d92429179..8ded5f551 100755 --- a/scripts/windows/coco-dev-setup/batch/scripts/npm_and_brunch_setup.bat +++ b/scripts/windows/coco-dev-setup/batch/scripts/npm_and_brunch_setup.bat @@ -1,2 +1,66 @@ call print_npm_and_brunch_header +call print_dashed_seperator + +set work_directory=%CD% +set "coco_root=!repository_path!\coco" + +call get_local_text npm-install +echo !npm_install! + +cd !coco_root! +::npm install -g bower brunch nodemon sendwithus +cd !work_directory! + +call print_dashed_seperator +call get_local_text npm-binstall +echo !npm_binstall! + +cd "!coco_root!" +bower install +cd "!work_directory!" + +pause + +call print_dashed_seperator +call get_local_text npm-sass +echo !npm_sass! + +pause + +cd "!coco_root!" +gem install sass +cd "!work_directory!" + +pause + +call print_dashed_seperator +call get_local_text npm-brunch +echo !npm_brunch! + +pause + +cd "!coco_root!" +npm install +cd "!work_directory!" + +pause + +call print_dashed_seperator +call get_local_text npm-mongodb +echo !npm_mongodb! + +pause + +call print_dashed_seperator +call get_local_text npm-database +echo !npm_database! + +pause + +call print_dashed_seperator +call get_local_text npm-script +echo !npm_script! + +pause + call print_dashed_seperator \ No newline at end of file diff --git a/scripts/windows/coco-dev-setup/batch/scripts/setup.bat b/scripts/windows/coco-dev-setup/batch/scripts/setup.bat index 6852ed6b5..0f4b585fe 100755 --- a/scripts/windows/coco-dev-setup/batch/scripts/setup.bat +++ b/scripts/windows/coco-dev-setup/batch/scripts/setup.bat @@ -48,7 +48,8 @@ call get_local_text start-6 echo !start_1! echo !start_2! echo. -echo !start_3! '!repository_path!\coco\SCOCODE.bat' !start_4! +echo !start_3! '!repository_path!\coco\SCOCODE.bat' +echo !start_4! echo !start_5! echo. echo !start_6!