Micolog at gae

Preview:

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

• 10 years .NET

• 3 years Python

• 1 years GAE

• 2 weeks Ruby & Rails

• 3 days MacOSX

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

Why blog & Why indipendent

• Fun

• Do things different

• Control

• Geeks entry level

Why Micolog

• Simple

• Python

• Free

• Open Source

• WordPress Theme compatible

• http://micolog.appspot.com/

Network Prepare

• Hosts files

• VPN

• Anything else to keep connect

GAE Cloud Prepare

• GMail

• Mobile Phone & Number

• Register an appid

Dev Tools Prepare

• ActivePython

• AppEngine SDK

• GIT Extension

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

• PyCharm (optional)

Get micolog by clone

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

or GUI:

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 .

Change Theme and other settings

• Permalink Structure (SEO)

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

• Enable memcache

• Theme

• XMLRpc user and password

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

Change everything else by Code

Binding Your own domain (optional)

• You need pay domain name

• But it’s GFW free

• No reverse proxy needs