blob: 249bca1659fcdee6b34feed3ed5fe3d101d6df29 [file] [log] [blame]
Mark Szymanskic92a5f22010-10-23 10:57:31 -05001# Open the root of your site in your favorite editor
2
3alias newentry="cd $JEKYLL_LOCAL_ROOT && $EDITOR ."
4
5# Open the _posts/ directory for making a new blog post (seperate from above alias because not everyone uses jekyll for a blog)
6
7alias newpost="cd $JEKYLL_LOCAL_ROOT/_posts && $EDITOR ."
8
9# Build and locally serve the site
10
11alias testsite="cd $JEKYLL_LOCAL_ROOT && jekyll --server --auto"
12
13# Build but don't locally serve the site
14
15alias buildsite="cd $JEKYLL_LOCAL_ROOT && rm -rf _site/ && jekyll"
16
17# Rsync the site to the remote server
18
19alias deploysite="cd $JEKYLL_LOCAL_ROOT %% rsync -rz _site/ $JEKYLL_REMOTE_ROOT"