13
建构基于Google的云计算平台 GAE上的独立博客 Eric Guo 过纯中 @ecguo http://weibo.com/ecguo April 14, 2012 This slide is available at http://www.slideshare.net/ericguo/micolog-at-gae-12535053

Micolog at gae

Embed Size (px)

DESCRIPTION

This slides is talking about how to setup a micolog blogs on GAE cloud in 30 minutes. Presentation at. Google的云计算平台GAE 以及Python开发专题活动 2012-4月14日(周六)下午 14:00-17:30 地点:TheNetCircle办公室(上海市宜昌路751号C7-14)

Citation preview

Page 2: Micolog at gae

• 10 years .NET

• 3 years Python

• 1 years GAE

• 2 weeks Ruby & Rails

• 3 days MacOSX

• http://www.weibo.com/ecguo

Page 3: Micolog at gae

Why blog & Why indipendent

• Fun

• Do things different

• Control

• Geeks entry level

Page 4: Micolog at gae

Why Micolog

• Simple

• Python

• Free

• Open Source

• WordPress Theme compatible

• http://micolog.appspot.com/

Page 5: Micolog at gae

Network Prepare

• Hosts files

• VPN

• Anything else to keep connect

Page 6: Micolog at gae

GAE Cloud Prepare

• GMail

• Mobile Phone & Number

• Register an appid

Page 7: Micolog at gae

Dev Tools Prepare

• ActivePython

• AppEngine SDK

• GIT Extension

• Sublime Text 2 (or VIM, Emacs, UltraEdit...)

• PyCharm (optional)

Page 8: Micolog at gae

Get micolog by clone

git clone git://github.com/xuming/micolog.git

or GUI:

Page 9: Micolog at gae

Upload Micolog

• Get your deploy password

https://code.google.com/hosting/settings

• Change app.yaml.sample to app.yaml

• Test in Local via GAE Launcher

• Upload to GAE via Command Line:

appcfg.py update .

Page 10: Micolog at gae

Change Theme and other settings

• Permalink Structure (SEO)

%(year)s/%(month)s/%(day)s/%(postname)s.html

• Enable memcache

• Theme

• XMLRpc user and password

Page 11: Micolog at gae

Live Writer Setting http://micolog-demo.appspot.com/xmlrpc.php

Page 12: Micolog at gae

Change everything else by Code

Page 13: Micolog at gae

Binding Your own domain (optional)

• You need pay domain name

• But it’s GFW free

• No reverse proxy needs