Make a blog with Flask

Init Fisst create a new repository which name “flask_site” on github. Then git clone to loacl. Init the env: $ cd flask_site $ mkvirtualenv -p python3 flask_site $ pip install flask $ pip install flask-login $ pip install flask-openid $ pip install flask-mail $ pip install flask-sqlalchemy $ pip install sqlalchemy-migrate $ pip install flask-whooshalchemy $ pip install flask-wtf $ pip install flask-babel $ pip install guess_language $ pip install flipflop $ pip install coverage Hello World $ mkdir blog $ cd blog $ mkdir app $ mkdir app/static $ mkdir app/templates $ mkdir tmp blog/app/__init__....

February 9, 2017 · 2 min · Me

Tinkerer Quick Start

Install $ sudo pip install tinkerer Quick start $ mkdir tinkerer_blog $ cd tinkerer_blog $ tinker --setup Then edit the conf.py. Tip Add post: tinker --post 'Hello World!' Add page: tinker --page 'About' Build blog: tinker --build Todo Show local toc in sidebar Reference Tinkerer Homepage: http://tinkerer.me/index.html

February 1, 2017 · 1 min · Me

Build Static Blog With Pelican

Setup environment and install software: $ mkdir pelican_blog $ cd pelican_blog $ mkvirtualenv pelican_blog $ pip install pelican markdown beautifulsoup4 Pelican quickstart: $ pelican-quickstart You will see blow: Welcome to pelican-quickstart v3.5.0. This script will help you create a new Pelican-based website. Please answer the following questions so this script can generate the files needed by Pelican. > Where do you want to create your new web site? [.] > What will be the title of this web site?...

March 10, 2015 · 4 min · Me