make setup test run
##
# for the following make tasks, you can also run:
#
# npm <task name>
##
# before start or after npm update
make setup
# start server
make start
# stop server
make stop
# restart server
make restart
# server status
make status
# view logs
tail -f ./logs/server.log
# generate nginx conf for your checkout and start nginx
make nginx/start
# stop nginx
make nginx/stop
# restart (stop then start) nginx
make nginx/restart
# HUP nginx process to reload configs
make nginx/reload
# to regnerate nginx.conf
rm nginx.conf
Key Overview:
port: Integer value of the Node application port.theme: Integer value of the array index from thebootswatchsection below.authors: Array of Author Stringsdescription: String containing the meta descript of the site.extras: Turn on extras functionality. Requiresconfig/_oauth.ymlupdate with correctkeyandsecuritytokens.favicon: Hash containingicoandpngfavicon paths (icomust be file system path, whilepngmust be browser path).google_analytics: Hash containing GAaccount_idanddomain_name.stylesheets: Array containing stylesheet files to be loaded at the top of the site.javascripts: Array containing javascript files to be loaded eitherbefore(at the top) orafter(at the bottom) of the site.bootswatch: Hash containing current Bootswatch meta data and themes.bootstrap: Array of Hashes containing Bootstrap meta data and pathing.
To add new tweets to the "Mad Love" section, follow these steps:
- Copy the full
<blockquote>HTML from the "Embed Tweet" source obtained via Twitter. - Replace all double quotes (
") with single quotes ('). - Wrap entire HTML block in double quotes (
"). - Add to
_tweets.yml, preceeded with a dash (-), which signifies an array item in YAML.
This is reserved for MaxCDN and NetDNA installation only at this time. Contact @jdorfman for more information.
