Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

merging build.cmd and run.cmd

  • Loading branch information...
commit 335182eabc2f0474f3dba3beb683238f86984af0 1 parent c6d9d64
Steve Marx authored
Showing with 2 additions and 7 deletions.
  1. +1 −1  README.md
  2. +0 −6 build.cmd
  3. +1 −0  run.cmd
View
2  README.md
@@ -8,7 +8,7 @@ Usage
specified in the `PORT` environment variable (and for best results when running
locally, listen on the IP address specified in the `ADDRESS` environment
variable.
-2. Run `build.cmd & run.cmd` to build and run the application locally. When
+2. Run `run.cmd` to build and run the application locally. When
running locally, python.exe must be in the path. (It is not automatically
installed as it is in the cloud.)
3. Run `pack.cmd` to output `PackAndRun.cspkg`. That file, along with
View
6 build.cmd
@@ -1,6 +0,0 @@
-@echo off
-if "%ServiceHostingSDKInstallPath%" == "" (
- echo Can't see the ServiceHostingSDKInstallPath environment variable. Please run from a Windows Azure SDK command-line (run Program Files\Windows Azure SDK\^<version^>\bin\setenv.cmd^).
- GOTO :eof
-)
-cspack ServiceDefinition.csdef /copyOnly /out:PythonRole.csx
View
1  run.cmd
@@ -3,5 +3,6 @@ if "%ServiceHostingSDKInstallPath%" == "" (
echo Can't see the ServiceHostingSDKInstallPath environment variable. Please run from a Windows Azure SDK command-line (run Program Files\Windows Azure SDK\^<version^>\bin\setenv.cmd^).
GOTO :eof
)
+cspack ServiceDefinition.csdef /copyOnly /out:PythonRole.csx
csrun PythonRole.csx ServiceConfiguration.Local.cscfg
if "%ERRORLEVEL%"=="0" ( echo Browse to the port you see above to view the app. To stop all running apps, use "csrun /removeAll" )
Please sign in to comment.
Something went wrong with that request. Please try again.