This is my personal sites source code. It's based on Dustin Curtis' Svbtle layout and markdown based blogging platform. It uses some of the styles from the Obtvse clone.
- Coffee Script
- Mocha (BDD, Coffee Script)
- Jade Templates
- Markdown for blog posts
Installing for Development
- Install Node.js
- Clone this repo:
git clone https://github.com/jgable/jacobgable_com.git
- Install the packages:
- Start the mongoDB:
- Run the tests:
- Start the server:
mongod --dbpath ./datato start the mongo database.
- To run tests use
- To add some default "mottos" (tag lines in the header), try
node data.js mottos
- To initialize some test posts that will be deleted by the unit tests, try
node data.js posts
- Here's how I made the
git update-index --assume-unchanged ./lib/secrets.coffeeafter adding it to
I've also added some things to the
secrets.coffee after I set it to ignore and I don't want to go back and figure out how to re-check that file in. Add three keys;
adminPassHash should be an md5 hash of your admin password (I know, md5 is bad, bcrypt is in the plans).