patches for new windows install
This commit is contained in:
parent
40a86b41c7
commit
4c3e285547
@ -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
7
deploy.sh
Normal 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..."
|
12
rebuild.cmd
12
rebuild.cmd
@ -1,7 +1,5 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
set PHP=C:\bin\php54\php.exe
|
|
||||||
|
|
||||||
echo Cleaning target directory...
|
echo Cleaning target directory...
|
||||||
echo.
|
echo.
|
||||||
rmdir /s /q wwwroot
|
rmdir /s /q wwwroot
|
||||||
@ -11,10 +9,10 @@ copy static\* wwwroot
|
|||||||
|
|
||||||
echo Building pages...
|
echo Building pages...
|
||||||
echo.
|
echo.
|
||||||
start /b %PHP% rebuild.php 4 0
|
start /b php rebuild.php 4 0
|
||||||
start /b %PHP% rebuild.php 4 1
|
start /b php rebuild.php 4 1
|
||||||
start /b %PHP% rebuild.php 4 2
|
start /b php rebuild.php 4 2
|
||||||
start /b %PHP% rebuild.php 4 3
|
start /b php rebuild.php 4 3
|
||||||
start /b %PHP% rebuild.php 4 4
|
start /b php rebuild.php 4 4
|
||||||
|
|
||||||
pause
|
pause
|
Reference in New Issue
Block a user