* Added html5 dir, has a .bat file that can build the html5 version. I went ahead and added the html5 specific Dink media as well, a bit big for SVN though. It has mp3 versions of all songs, otherwise it's the same as the normal data I think
git-svn-id: svn://rtsoft.com/rtsvn/projects/RTDink@1600 353e56fe-9613-0410-8469-b96ad8e6f29c
This commit is contained in:
parent
0974642cfb
commit
35c284b014
824 changed files with 4164 additions and 1121 deletions
40
html5/UploadToWebsite.bat
Normal file
40
html5/UploadToWebsite.bat
Normal file
|
@ -0,0 +1,40 @@
|
|||
SET _FTP_USER_=rtsoft
|
||||
SET _FTP_SITE_=rtsoft.com
|
||||
SET WEB_SUB_DIR=web/dink
|
||||
|
||||
|
||||
set CURPATH=%cd%
|
||||
cd ..
|
||||
call app_info_setup.bat
|
||||
cd %CURPATH%
|
||||
|
||||
if not exist %APP_NAME%.js beeper.exe /p
|
||||
:Get rid of files we don't actually need
|
||||
del %APP_NAME%.js.orig.js
|
||||
del temp.bc
|
||||
:SSH transfer, this assumes you have ssh and valid keys setup already
|
||||
copy /Y %APP_NAME%.html index.html
|
||||
|
||||
ssh %_FTP_USER_%@%_FTP_SITE_% "mkdir ~/www/%WEB_SUB_DIR%"
|
||||
ssh %_FTP_USER_%@%_FTP_SITE_% "rm -rf ~/www/%WEB_SUB_DIR%/WebLoaderData"
|
||||
rsync -avzr --chmod=Du=rwx,Dgo=rx,Fu=rw,Fgo=r -e "ssh" %APP_NAME%*.* %_FTP_USER_%@%_FTP_SITE_%:www/%WEB_SUB_DIR%
|
||||
rsync -avzr --chmod=Du=rwx,Dgo=rx,Fu=rw,Fgo=r -e "ssh" WebLoaderData %_FTP_USER_%@%_FTP_SITE_%:www/%WEB_SUB_DIR%
|
||||
rsync -avzr --chmod=Du=rwx,Dgo=rx,Fu=rw,Fgo=r -e "ssh" index.html %_FTP_USER_%@%_FTP_SITE_%:www/%WEB_SUB_DIR%
|
||||
|
||||
:Let's go ahead an open a browser to test it
|
||||
:start http://www.%_FTP_SITE_%/%WEB_SUB_DIR%/%APP_NAME%.html
|
||||
start http://www.%_FTP_SITE_%/%WEB_SUB_DIR%
|
||||
|
||||
:Old way, non ssh
|
||||
REM get our ftp logon info
|
||||
:call d:\projects\SetFTPLogonInfo.bat
|
||||
|
||||
:ncftpput -u %_FTP_USER_% -p %_FTP_PASS_% -R %_FTP_SITE_% /www/%WEB_SUB_DIR% %APP_NAME%*
|
||||
:ncftpput -u %_FTP_USER_% -p %_FTP_PASS_% -R %_FTP_SITE_% /www/%WEB_SUB_DIR% WebLoaderData
|
||||
|
||||
:echo Files uploaded: http://www.%_FTP_SITE_%/%WEB_SUB_DIR%
|
||||
|
||||
:Let's go ahead an open a browser to test it
|
||||
:start http://www.%_FTP_SITE_%/%WEB_SUB_DIR%/%APP_NAME%.html
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue