Notice
Recent Posts
Recent Comments
Link
«   2025/02   »
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28
Tags more
Archives
Today
Total
관리 메뉴

Pure Software Engineer :)

Google App Engine 'Hello world' using python SDK 본문

Software Engineering

Google App Engine 'Hello world' using python SDK

HelloJaewon 2013. 8. 10. 13:08

Google app engine 을 사용하여 hello world를 한번 찍어보자.


언어는 python으로 결정했고, OS는 ubuntu 12.04를 사용했다.


설치 프로그램

1. python2.7

2. google app engine SDK for python 다운로드


1. python2.7 다운로드

// python에서 zlib 모듈을 설치하기 위한 패키지

sudo apt-get install dpkg-dev

// python에서 sqlite3 모듈을 설치하기 위한 패키지

sudo apt-get install libsqlite3-dev

cd python2.7

./configure

make

sudo make install


2. Helloworld sample 작성

아래 가이드를 참고하여 작성


3. web server 실행 및 확인

google_appengine/dev_appserver.py helloworld/

localhost:8080으로 접속하면 hello, world 메시지를 확인할 수 있다.


예제를 차례로 따라가서, 다음 페이지에 샘플 앱을 올려서 확인할 수 있었다.!!

http://hellojaewonchoi.appspot.com/



References

// google app engine python helloworld guide

https://developers.google.com/appengine/docs/python/gettingstartedpython27/devenvironment

// python에서 zlib 모듈을 설치하기 위한 패키지

http://stackoverflow.com/questions/12344970/building-python-from-source-with-zlib-support

// python에서 sqlite3 모듈을 설치하기 위한 패키지

http://stackoverflow.com/questions/1210664/no-module-named-sqlite3

// webapp2 framwork

https://developers.google.com/appengine/docs/python/tools/webapp2

'Software Engineering' 카테고리의 다른 글

Docker image로 Redis Cluster 쉽게 실행하기  (0) 2023.03.20
VI에서 swift syntax highlight 하는 방법  (0) 2015.07.26
[MongoDb] Command  (0) 2014.12.23
[Redis] Redis data structure  (0) 2014.11.20
[C++] new operator  (0) 2013.07.22