a picture my son drew of a wave on a beach

My Nikola cheat ­card

Tagged with: #meta

I am exceedingly lazy and my desire to retain knowledge of how my own blog works is dismal. For my own benefit I made a cheat sheet to remind me what I do when I feel like harking on about some crap on this site. I am edging towards doing away with the whole deployment bit and just making the output into the live site. Like most people I just want an easy life… and I can’t stop fiddling with it.

# QUICKSTART:
cd ~/nikola
## start virtualenv
source bin/activate

cd tregeagle  
nikola new_post -e --format=markdown --title="A-new-post"

## open site on local dev server
nikola serve --browser  
OR  
nikola auto -b  

## rebuild site with new post
nikola build

## apply custom deployment commands from conf.py
nikola deploy

## stop virtualenv
deactivate

Some references:

Nikola Handbook
RSS enclosure
Markdown syntax …and this …and even this pdf

Other articles

Comments

Add a comment?

There are no comments yet.