AppEngine install windows

7 206 0
AppEngine install windows

Đang tải... (xem toàn văn)

Thông tin tài liệu

For Web developer Step by step Installing and Running the Google App Engine On Windows

! "! Installing)and)Running)the)Google)App)Engine) On)Windows) ) ! #$%&!'()*+,-.!',&)/%0,&!.$,!%-&.1221.%(-!(3!.$,!4((52,!677!8-5%-,!9(3.:1/,! ;,<,2(7+,-.!=%.!>9;=?!(-!1!@%)/(&(3.!A%-'(:&!1-'!/*--%-5!1!&%+72,!B$,22(!:(/2'C! 1772%)1.%(-D! ! #$,!677!8-5%-,!9;=!122(:&!E(*!.(!/*-!4((52,!677!8-5%-,!6772%)1.%(-&!(-!E(*/!2()12! )(+7*.,/D!!F.!&%+*21.,&!.$,!/*-G.%+,!,-<%/(-+,-.!(3!.$,!4((52,!677!8-5%-,! %-3/1&./*).*/,D! ! Pre9Requisites:)Python)2.5.4) ! F3!E(*!'(-H.!12/,1'E!$1<,!IE.$(-!JDKDL!%-&.122,'!%-!E(*/!)(+7*.,/M!'(:-2(1'!1-'! F-&.122!IE.$(-!JDKDL!3/(+N! ! http://www.python.org/download/releases/2.5.4/ ! Download)and)Install) ! O(*!)1-!'(:-2(1'!.$,!4((52,!677!8-5%-,!9;=!0E!5(%-5!.(N! ! http://code.google.com/appengine/downloads.html ! 1-'!'(:-2(1'!.$,!177/(7/%1.,!%-&.122!71)P15,D! ! ! ! ;(:-2(1'!.$,!A%-'(:&!%-&.122,/!Q!.$,!&%+72,&.!.$%-5!%&!.(!'(:-2(1'!%.!.(!E(*/! ;,&P.(7!(/!1-(.$,/!3(2',/!.$1.!E(*!/,+,+0,/D! ! ! J! ! ! ;(*02,!R2%)P!(-!.$,!GoogleApplicationEngine!%-&.122,/D! ! ! ! R2%)P!.$/(*5$!.$,!%-&.1221.%(-!:%S1/'M!1-'!%.!&$(*2'!%-&.122!.$,!677!8-5%-,D!!F3!E(*!'(! -(.!$1<,!IE.$(-!JDKM!%.!:%22!%-&.122!IE.$(-!JDK!1&!:,22D! ! T-),!.$,!%-&.122!%&!)(+72,.,!E(*!)1-!'%&)1/'!.$,!'(:-2(1','!%-&.122,/! ! ! ! ! ! U! Making)your)First)Application) ! V(:!E(*!-,,'!.(!)/,1.,!1!&%+72,!1772%)1.%(-D!!!A,!)(*2'!*&,!.$,!BWC!(7.%(-!.(!$1<,! .$,!21*-)$,/!+1P,!*&!1-!1772%)1.%(-!Q!0*.!%-&.,1'!:,!:%22!'(!%.!0E!$1-'!.(!5,.!1! 0, ,/!&,-&,!(3!:$1.!%&!5(%-5!(-D! ! @1P,!1!3(2',/!3(/!E(*/!4((52,!677!8-5%-,!1772%)1.%(-&D!!F!1+!5(%-5!.(!+1P,!.$,! X(2',/!(-!+E!;,&P.(7!)122,'!BappsC!Q!.$,!71.$!.(!.$%&!3(2',/!%&N! ! ))) C:\Documents)and)Settings\csev\Desktop\apps) ! 6-'!.$,-!+1P,!1!&*0G3(2',/!%-!:%.$%-!apps!)122,'!Bae9019trivialC!Q!.$,!71.$!.(!.$%&! 3(2',/!:(*2'!0,N! ! C:\)Documents)and)Settings)\csev\Desktop\apps\ae9019trivial) ! Y&%-5!1!.,Z.!,'%.(/!&*)$!1&![8'%.!>:::D\,'%.D(/5?M!)/,1.,!1!3%2,!)122,'!app.yaml!%-!.$,! ae9019trivial!3(2',/!:%.$!.$,!3(22(:%-5!)(-.,-.&N! ! application: ae-01-trivial version: 1 runtime: python api_version: 1 handlers: - url: /.* script: index.py ! Note:!I2,1&,!'(!-(.!)(7E!1-'!71&.,!.$,&,!2%-,&!%-.(!E(*/!.,Z.!,'%.(/!Q!E(*!+%5$.!,-'! *7!:%.$!&./1-5,!)$1/1).,/&!Q!&%+72E!.E7,!.$,+!%-.(!E(*/!,'%.(/D! ! #$,-!)/,1.,!1!3%2,!%-!.$,!ae9019trivial!3(2',/!)122,'!index.py!:%.$!.$/,,!2%-,&!%-!%.N! ! print 'Content-Type: text/plain' print ' ' print 'Hello there Chuck' ! #$,-!&.1/.!.$,!GoogleAppEngineLauncher!7/(5/1+!.$1.!)1-!0,!3(*-'!*-',/! ApplicationsD!!!Y&,!.$,!File)9>)Add)Existing)Application!)(++1-'!1-'!-1<%51.,! %-.(!.$,!apps!'%/,).(/E!1-'!&,2,).!.$,!ae9019trivial!3(2',/D!!T-),!E(*!$1<,!1'','! .$,!1772%)1.%(-M!&,2,).!%.!&(!.$1.!E(*!)1-!)(-./(2!.$,!1772%)1.%(-!*&%-5!.$,!21*-)$,/D! ! ! L! ! ! T-),!E(*!$1<,!&,2,).,'!E(*/!1772%)1.%(-!1-'!7/,&&!RunD!!!63.,/!1!3,:!+(+,-.&!E(*/! 1772%)1.%(-!:%22!&.1/.!1-'!.$,!21*-)$,/!:%22!&$(:!1!2% 2,!5/,,-!%)(-!-,Z.!.(!E(*/! 1772%)1.%(-D!!#$,-!7/,&&!Browse!.(!(7,-!1!0/(:&,/!7(%-.%-5!1.!E(*/!1772%)1.%(-! :$%)$!%&!/*--%-5!1.!http://localhost:8080/! ! I1&.,!http://localhost:8080!%-.(!E(*/!0/(:&,/!1-'!E(*!&$(*2'!&,,!E(*/! 1772%)1.%(-!1&!3(22(:&N! ! ! ! [*&.!3(/!3*-M!,'%.!.$,!index.py!.(!)$1-5,!.$,!-1+,!BR$*)PC!.(!E(*/!(:-!-1+,!1-'! 7/,&&!],3/,&$!%-!.$,!0/(:&,/!.(!<,/%3E!E(*/!*7'1.,&D! ! Watching)the)Log) ! O(*!)1-!:1.)$!.$,!%-.,/-12!2(5!(3!.$,!1).%(-&!.$1.!.$,!:,0!&,/<,/!%&!7,/3(/+%-5!:$,-! E(*!1/,!%-.,/1).%-5!:%.$!E(*/!1772%)1.%(-!%-!.$,!0/(:&,/D!!!9,2,).!E(*/!1772%)1.%(-!%-! .$,!^1*-)$,/!1-'!7/,&&!.$,!Logs!0* (-!.(!0/%-5!*7!1!2(5!:%-'(:N! ! ! K! ! ! 81)$!.%+,!E(*!7/,&&!Refresh!%-!E(*/!0/(:&,/!Q!E(*!)1-!&,,!%.!/,./%,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&.1/.!.$,!&,/<,/D! ! Shutting)Down)the)Server) ! #(!&$*.!'(:-!.$,!&,/<,/M!*&,!.$,!^1*-)$,/M!&,2,).!E(*/!1772%)1.%(-!1-'!7/,&&!.$,! Stop!0* (-D! ! ! #$%&!+1.,/%12&!%&!R(7E/%5$.!622!]%5$.&!],&,/<,'!Q!R$1/2,&!9,<,/1-),! ! R(++,-.&!1-'!_*,&.%(-&!.(!)&,<e*+%)$D,'*!:::D'/G)$*)PD)(+! ! . ! "! Installing)and)Running)the)Google)App)Engine) On )Windows) ) ! #$%&!'()*+,-.!',&)/%0,&!.$,!%-&.1221.%(-!(3!.$,!4((52,!677!8-5%-,!9(3.:1/,!. http://www.python.org/download/releases/2.5.4/ ! Download)and )Install) ! O(*!)1-!'(:-2(1'!.$,!4((52,!677!8-5%-,!9;=!0E!5(%-5!.(N! ! http://code.google.com /appengine/ downloads.html

Ngày đăng: 12/09/2013, 12:14

Từ khóa liên quan

Tài liệu cùng người dùng

Tài liệu liên quan