This is a simple repo for browsing the code behind morgandelaney.me.
# From either the `simple` or `full` directory
node-sass --output css --source-map true --source-map-contents sass/style.sass
Note that
node-sasscalls can use--watchduring development
# Set up SSH access and host
git add remote production ssh://morgan/var/repo/site.git
# Push to production. Cache bust is automatic.
rsync --exclude-from .rsync-exclude [OPTION]... SRC [SRC]... [USER@]HOST:DEST
node-sass -o simple/css simple/sass # if not already compiled
node-sass -o full/css full/sass # if not already compiled
Feature flags are very simply handled through query strings, e.g. morgandelaney.me/?full.
-
full: Show the full portfolio -
livereload: Listen for livereload changes (dev) -
grid: Show a grid on top of the page (dev)