• R/O
  • HTTP
  • SSH
  • HTTPS

提交

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

newbmap


Commit MetaInfo

修訂4097c8468895f96c3af71539e8555c66ed7b537a (tree)
時間2012-04-11 17:47:05
作者unknown <hirom@hiro...>
Commiterunknown

Log Message

rename app.js -> server.js, and change map language to Japanese

Change Summary

差異

--- /dev/null
+++ b/ServiceDefinition.csdef
@@ -0,0 +1,25 @@
1+<?xml version="1.0" encoding="UTF-8"?>
2+<ServiceDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition" name="TaskListContoso12345">
3+ <WebRole name="WebRole1" vmsize="ExtraSmall">
4+ <LocalResources>
5+ <LocalStorage name="DiagnosticStore" sizeInMB="4096" cleanOnRoleRecycle="false"/>
6+ </LocalResources>
7+ <ConfigurationSettings>
8+ <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountEncryptedPassword"/>
9+ <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountExpiration"/>
10+ <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountUsername"/>
11+ <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.Enabled"/>
12+ <Setting name="Microsoft.WindowsAzure.Plugins.RemoteForwarder.Enabled"/>
13+ </ConfigurationSettings>
14+ <Endpoints>
15+ <InputEndpoint name="Endpoint1" protocol="http" port="80" localPort="80"/>
16+ <InputEndpoint name="Microsoft.WindowsAzure.Plugins.RemoteForwarder.RdpInput" protocol="tcp" port="3389" localPort="*" ignoreRoleInstanceStatus="true"/>
17+ <InternalEndpoint name="Microsoft.WindowsAzure.Plugins.RemoteAccess.Rdp" protocol="tcp">
18+ <FixedPortRange min="3389" max="3389"/>
19+ </InternalEndpoint>
20+ </Endpoints>
21+ <Certificates>
22+ <Certificate name="Microsoft.WindowsAzure.Plugins.RemoteAccess.PasswordEncryption" storeLocation="LocalMachine" storeName="My"/>
23+ </Certificates>
24+ </WebRole>
25+</ServiceDefinition>
--- /dev/null
+++ b/Web.cloud.config
@@ -0,0 +1,37 @@
1+<?xml version="1.0" encoding="utf-8"?>
2+<!--
3+ For more information on how to configure your ASP.NET application, please visit
4+ http://go.microsoft.com/fwlink/?LinkId=169433
5+ -->
6+<configuration>
7+ <appSettings>
8+ <add key="AZURE_STORAGE_ACCOUNT" value=""/>
9+ <add key="AZURE_STORAGE_ACCESS_KEY" value=""/>
10+ </appSettings>
11+ <system.webServer>
12+ <modules runAllManagedModulesForAllRequests="false" />
13+
14+ <!-- NOTE: You probably want to set these to false when deploying to production -->
15+ <iisnode
16+ debuggingEnabled="false"
17+ loggingEnabled="true"
18+ devErrorsEnabled="true"
19+ />
20+
21+ <!-- indicates that the server.js file is a node.js application
22+ to be handled by the iisnode module -->
23+ <handlers>
24+ <add name="iisnode" path="server.js" verb="*" modules="iisnode" />
25+ </handlers>
26+ <rewrite>
27+ <rules>
28+ <clear />
29+ <rule name="app" enabled="true" patternSyntax="ECMAScript" stopProcessing="true">
30+ <match url="server\.js.+" negate="true" />
31+ <conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
32+ <action type="Rewrite" url="server.js" />
33+ </rule>
34+ </rules>
35+ </rewrite>
36+ </system.webServer>
37+</configuration>
--- a/views/index.jade
+++ b/views/index.jade
@@ -6,7 +6,7 @@ h1
66 input#query_text(type='text')
77 input(type='submit', value='Search')
88
9- script(src='http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0')
9+ script(src='http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0&mkt=ja-jp')
1010 #map_box
1111 #map_body
1212 script(src='/javascripts/index.js')
--- a/views/published.jade
+++ b/views/published.jade
@@ -6,7 +6,7 @@ h1
66 input#query_text(type='text')
77 input(type='submit', value='Search')
88
9- script(src='http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0')
9+ script(src='http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0&mkt=ja-jp')
1010 #map_box
1111 #map_body
1212 script(src='/javascripts/published.js')