mirror of
https://github.com/wezm/wezm.net.git
synced 2024-11-18 04:42:47 +00:00
36 lines
648 B
Markdown
36 lines
648 B
Markdown
WezM.net
|
|
========
|
|
|
|
Site Structure
|
|
--------------
|
|
|
|
/articles
|
|
/technical
|
|
/category
|
|
/personal
|
|
/category
|
|
/about
|
|
|
|
Tips
|
|
----
|
|
|
|
Set updated_at on a post in vim:
|
|
|
|
:r! ruby -rtime -e "puts File.mtime('%:r.md').xmlschema"
|
|
|
|
Trim CLI screenshots:
|
|
|
|
convert *.png -set filename:name '%t' -background white -splice 0x1 -background white -splice 0x1 -trim +repage -chop 0x1 '%[filename:name].png'
|
|
|
|
Setup
|
|
-----
|
|
|
|
frum install (then cd ..; cd -)
|
|
gem install bundler --no-doc --version '~> 1'
|
|
bundle install
|
|
|
|
Building and Deployment
|
|
-----------------------
|
|
|
|
* Build with: `nanoc co`
|
|
* Deploy with: `nanoc deploy`
|