Repos / hi.imnhan.com / bf0f96324d
commit bf0f96324d2c99962d8b81c2338524e753a5e58a
Author: nhanb <nhan@nerdyweekly.com>
Date:   Mon Apr 24 13:45:53 2017 +0700

    update Pelican & deps

diff --git a/README.md b/README.md
index 5514001..e8b5e91 100644
--- a/README.md
+++ b/README.md
@@ -5,19 +5,28 @@ # My blog
 
 # Dev environment
 
-This repo targets Pelican 3.6 on Python 3.4. Initial setup on Ubuntu with virtualenvwrapper looks
+This repo targets Pelican 3.7 on python3. Initial setup on Ubuntu with virtualenvwrapper looks
 something like this:
 
 ```bash
-mkvirtualenv -p `which python3.4` pelican
+mkvirtualenv -p `which python3` pelican
 pip install --upgrade pip
 pip install -r requirements.txt
 ```
 
 Then use:
 
-  - `make devserver` / `make stopserver` for local dev at port 8000
-  - `make github` to publish to www.nerdyweekly.com
+- `make devserver` / `make stopserver` for local dev at port 8000
+- `make github` to publish to www.nerdyweekly.com
+
+Alternatively, if you find the `make dev/stopserver` workflow clumsy, manually run `pelican -r` and
+simple python http server to keep everything in the foreground:
+
+```bash
+pelican -r content  # in 1 terminal
+cd output && python3 -m http.server 8000  # in another terminal
+```
+
 
 # License
 
diff --git a/motherfucking-pelican-theme b/motherfucking-pelican-theme
index ccfb562..458e4af 160000
--- a/motherfucking-pelican-theme
+++ b/motherfucking-pelican-theme
@@ -1 +1 @@
-Subproject commit ccfb5622283b73aa48968935656260d406b01825
+Subproject commit 458e4af53cfe14beca02abf0fe241da91b2f6021
diff --git a/pelicanconf.py b/pelicanconf.py
index ed7ad91..20ddb2a 100644
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -82,7 +82,7 @@
 
 MOTHERFUCKING_DEFAULT_THUMB = 'images/nhan.jpg'
 MOTHERFUCKING_GREETINGS = '''
-Why hello there, fellow source viewer. Here's a dragon for no reason:
+Why hello there, source viewer. Here's a dragon for no particular reason:
 
        ^                       ^
        |\   \        /        /|
@@ -110,7 +110,4 @@
   VVV  V        VVV  V
 
 (ripped off from http://www.retrojunkie.com/asciiart/myth/dragons.htm)
-
-Wanna yell at me for wasting your precious bytes? dragons at nerdyweekly.com is
-the email address you're looking for :)
 '''
diff --git a/requirements-src.txt b/requirements-src.txt
new file mode 100644
index 0000000..2ea13b1
--- /dev/null
+++ b/requirements-src.txt
@@ -0,0 +1,7 @@
+pelican
+pelican-minify
+markdown
+typogrify
+
+flake8
+ghp-import
diff --git a/requirements.txt b/requirements.txt
index 96031e3..2ff72f9 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,21 +1,22 @@
-backports-abc==0.4
 blinker==1.4
-docutils==0.12
-feedgenerator==1.8
-ghp-import==0.4.1
+docutils==0.13.1
+feedgenerator==1.9
+flake8==3.3.0
+ghp-import==0.5.5
 htmlmin==0.1.10
-Jinja2==2.8
-joblib==0.9.4
-livereload==2.4.0
-Markdown==2.6.5
-MarkupSafe==0.23
-pelican==3.6.3
+Jinja2==2.9.6
+joblib==0.11
+Markdown==2.6.8
+MarkupSafe==1.0
+mccabe==0.6.1
+pelican==3.7.1
 pelican-minify==0.9
-Pygments==2.1.3
-python-dateutil==2.5.3
-pytz==2016.4
+pycodestyle==2.3.1
+pyflakes==1.5.0
+Pygments==2.2.0
+python-dateutil==2.6.0
+pytz==2017.2
 six==1.10.0
-smartypants==1.8.6
-tornado==4.3
+smartypants==2.0.0
 typogrify==2.0.7
-Unidecode==0.4.19
+Unidecode==0.4.20