2
我是Appfog的新手,沒有看到有關如何上傳僅爲html的文件的任何文檔。我不確定在詢問我使用的代碼時要選擇什麼:它將諸如python,flask,java等的東西列爲選項,但不包括html。我在哪裏放置我的html代碼,以及默認的wsgi.py文件應該做什麼?將僅HTML文件上傳到appfog
謝謝!
我是Appfog的新手,沒有看到有關如何上傳僅爲html的文件的任何文檔。我不確定在詢問我使用的代碼時要選擇什麼:它將諸如python,flask,java等的東西列爲選項,但不包括html。我在哪裏放置我的html代碼,以及默認的wsgi.py文件應該做什麼?將僅HTML文件上傳到appfog
謝謝!
如果你想創建一個HTML唯一的應用程序使用PHP作爲運行時和即使在AF工具檢測standanlone不使用獨立:
af push
Would you like to deploy from the current directory? [Yn]: y
Application Name: [APP NAME]
Detected a Standalone Application, is this correct? [Yn]: n #<< NOPE
1: Rails
2: Spring
3: Grails
4: Lift
5: JavaWeb
6: Standalone
7: Sinatra
8: Node
9: PHP
10: Erlang/OTP Rebar
11: WSGI
12: Django
13: Rack
14: Play
Select Application Type: 9 #<< PHP will do
Selected PHP Application
1: AWS US East - Virginia
2: AWS EU West - Ireland
3: AWS Asia SE - Singapore
4: Rackspace AZ 1 - Dallas
5: HP AZ 2 - Las Vegas
Select Infrastructure: 1
Application Deployed URL [your app name.aws.af.cm]:
Memory reservation (128M, 256M, 512M, 1G, 2G) [128M]:
How many instances? [1]:
Bind existing services to 'app name'? [yN]: n #<< dont need services
Create services to bind to 'app name'? [yN]: n #<< no bindings
Would you like to save this configuration? [yN]: n
確保你的根文件夾中有一個index.html