patches for new windows install

This commit is contained in:
mappu 2015-02-06 17:11:38 +13:00
parent 40a86b41c7
commit 4c3e285547
3 changed files with 12 additions and 10 deletions

View File

@ -1,3 +0,0 @@
@echo off
start C:\bin\cygwin\bin\mintty.exe /bin/bash -l -c "rsync --delete -avz -e ""ssh -i /cygdrive/c/www/ms1_deploy_key -p 2222"" --progress /cygdrive/c/www/m6/code/wwwroot www-data@ms1.ivysaur.me:~/code.ivysaur.me/"

7
deploy.sh Normal file
View File

@ -0,0 +1,7 @@
#!/bin/bash
rsync --delete -avz -e "ssh -i /cygdrive/c/www/ms1_deploy_key -p 2222" --progress /cygdrive/c/www/m6/code/wwwroot www-data@ms1.ivysaur.me:~/code.ivysaur.me/
# n.b. set chmod -R a+rX remote side?
read -p "Press any key to continue..."

View File

@ -1,7 +1,5 @@
@echo off
set PHP=C:\bin\php54\php.exe
echo Cleaning target directory...
echo.
rmdir /s /q wwwroot
@ -11,10 +9,10 @@ copy static\* wwwroot
echo Building pages...
echo.
start /b %PHP% rebuild.php 4 0
start /b %PHP% rebuild.php 4 1
start /b %PHP% rebuild.php 4 2
start /b %PHP% rebuild.php 4 3
start /b %PHP% rebuild.php 4 4
start /b php rebuild.php 4 0
start /b php rebuild.php 4 1
start /b php rebuild.php 4 2
start /b php rebuild.php 4 3
start /b php rebuild.php 4 4
pause