2013-01-25 3 views
2

Appfog를 처음 사용하고 HTML 형식의 파일을 업로드하는 방법에 대한 문서가 표시되지 않았습니다. 어떤 코드를 사용할지 묻는 질문을 할 때 무엇을 선택해야할지 모르겠습니다. python, flask, java 등의 옵션이 HTML이 아닌 옵션으로 나열됩니다. html 코드는 어디에 두어야하며 기본 wsgi.py 파일은 무엇을해야합니까?HTML 전용 파일을 앱 폴더에 업로드

감사합니다.

답변

4

당신은 런타임과 같은 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을이 있는지 확인