Development Tool: pelican (static site generator written in Python)
Development Environment: Ubuntu 15.10
$ sudo apt-get install git
$ sudo apt-get install python-pip
- git clone source code:
$ cd
$ mkdir dev
$ cd ~/dev/
$ git clone https://github.com/siongui/userpages.git
- Install Python tools:
$ cd ~/dev/userpages/
$ sudo pip install -r requirements.txt
- Install pelican i18n_subsites plugin and download normalize.css:
$ cd ~/dev/userpages/
$ make download
- Generate CSS file:
$ cd ~/dev/userpages/
$ make scss
- Install language packages to add locale (English, Traditional Chinese, and Thai):
$ sudo apt-get install language-pack-en
$ sudo apt-get install language-pack-zh-hant
$ sudo apt-get install language-pack-th
# start edit and develope
$ cd ~/dev/userpages/
# If something changes, re-generate the website:
$ make html
# start dev server
$ make serve
# open your browser and preview the website at http://localhost:8000/
All works, including posts and code, of Siong-Ui Te are released in public domain. Please see UNLICENSE.
python - Upgrading all packages with pip - Stack Overflow
How do I add locale to ubuntu server? - Ask Ubuntu
Web Fundamentals | Web Fundamentals - Google Developers
Online reStructuredText editor
edit on Github link:
pelican-edit-url
reStructuredText:
reStructuredText Markup Specification
rst2html:
How can I get rst2html.py to include the CSS for syntax highlighting?
Hottest 'rst2html.py' Answers - Stack Overflow
rst2html stylesheet:
Writing HTML (CSS) Stylesheets for Docutilsrst2html css:
Documentation: Create GitHub like styled html doc file with rst2html
How to render reStructuredText documents with latest docutils on Ubuntu 12.04 LTS
restructuredtext center text:
Best way to align center a paragraph with RestructuredText?
Image Hover: