Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
aw-tech:lilac [2015/10/18 23:56]
fsckd [To Do] todo table
aw-tech:lilac [2015/10/19 00:07] (current)
fsckd [Deploying Lilac] Makefile
Line 4: Line 4:
  
 ===== Deploying Lilac ===== ===== Deploying Lilac =====
 +
 1. Create the virtual enviroment: 1. Create the virtual enviroment:
 <​code>​mkdir /​var/​virtualenvs/​lilac <​code>​mkdir /​var/​virtualenvs/​lilac
Line 10: Line 11:
 <​code>​source /​var/​virtualenvs/​lilac/​bin/​activate <​code>​source /​var/​virtualenvs/​lilac/​bin/​activate
 pip install lilac</​code>​ pip install lilac</​code>​
 +
 +==== Makefile ====
 +
 +This goes in ''/​srv/​http/​archwomen.org/​blog/​lilac''​
 +
 +<file make Makefile>​
 +# Makefile to manage blog
 +
 +help:
 + @echo "Help message:"​
 + @echo " ​ help   ​- ​ show this help message"​
 + @echo " ​ serve  -  start a web sever and watch to auto rebuild"​
 + @echo " ​ build  -  to build markdown to html"
 + @echo " ​ clean  -  to remove htmls built by lilac"
 +
 +build:
 + lilac build
 +
 +serve:
 + lilac serve --watch
 +
 +clean:
 + cp -r archwomen post page tag 404.html about.html archives.html feed.atom index.html tags.html /​srv/​http/​archwomen.org/​blog/​public && rm -rf post page tag 404.html about.html archives.html feed.atom index.html tags.html
 +</​file>​
 ===== Arch Women Customizations ===== ===== Arch Women Customizations =====
  

aw-tech/lilac.txt · Last modified: 2015/10/19 00:07 by fsckd