Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

rename .csx and .cspkg to PythonRole

  • Loading branch information...
commit c6d9d6492b2c4ddc1f66b0bfa3d1897057a2908b 1 parent 225c121
authored December 06, 2011
2  ServiceConfiguration.Cloud.cscfg
... ...
@@ -1,5 +1,5 @@
1 1
 <?xml version="1.0"?>
2  
-<ServiceConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" serviceName="PackAndDeploy" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration" osFamily="2" osVersion="*">
  2
+<ServiceConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" serviceName="PythonRole" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration" osFamily="2" osVersion="*">
3 3
   <Role name="WorkerRole">
4 4
     <ConfigurationSettings />
5 5
     <Instances count="2" />
2  ServiceConfiguration.Local.cscfg
... ...
@@ -1,5 +1,5 @@
1 1
 <?xml version="1.0"?>
2  
-<ServiceConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" serviceName="PackAndDeploy" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration" osFamily="2" osVersion="*">
  2
+<ServiceConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" serviceName="PythonRole" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration" osFamily="2" osVersion="*">
3 3
   <Role name="WorkerRole">
4 4
     <ConfigurationSettings />
5 5
     <Instances count="1" />
2  ServiceDefinition.csdef
... ...
@@ -1,5 +1,5 @@
1 1
 <?xml version="1.0" encoding="utf-8"?>
2  
-<ServiceDefinition name="PackAndDeploy" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition">
  2
+<ServiceDefinition name="PythonRole" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition">
3 3
     <WorkerRole name="WorkerRole" vmsize="ExtraSmall">
4 4
         <Startup>
5 5
             <Task commandLine="installPython.cmd" executionContext="elevated">
2  build.cmd
@@ -3,4 +3,4 @@ if "%ServiceHostingSDKInstallPath%" == "" (
3 3
     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^).
4 4
     GOTO :eof
5 5
 )
6  
-cspack ServiceDefinition.csdef /copyOnly /out:PackAndDeploy.csx
  6
+cspack ServiceDefinition.csdef /copyOnly /out:PythonRole.csx
2  pack.cmd
... ...
@@ -1 +1 @@
1  
-cspack ServiceDefinition.csdef /out:PackAndDeploy.cspkg
  1
+cspack ServiceDefinition.csdef /out:PythonRole.cspkg
2  run.cmd
@@ -3,5 +3,5 @@ if "%ServiceHostingSDKInstallPath%" == "" (
3 3
     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^).
4 4
     GOTO :eof
5 5
 )
6  
-csrun PackAndDeploy.csx ServiceConfiguration.Local.cscfg
  6
+csrun PythonRole.csx ServiceConfiguration.Local.cscfg
7 7
 if "%ERRORLEVEL%"=="0" ( echo Browse to the port you see above to view the app. To stop all running apps, use "csrun /removeAll" )

0 notes on commit c6d9d64

Please sign in to comment.
Something went wrong with that request. Please try again.