mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-26 14:03:28 -04:00
First step of npm works.
This commit is contained in:
parent
6697929796
commit
ea682c48e1
3 changed files with 76 additions and 2 deletions
scripts/windows/coco-dev-setup/batch
|
@ -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!
|
|
@ -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
|
|
@ -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!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue