Skip to content

Commit

Permalink
+readme
Browse files Browse the repository at this point in the history
  • Loading branch information
remy committed Nov 25, 2015
1 parent 681af9d commit 2f74ba3
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# How to

```
npm install
node server.js
open http://localhost:9000
```

It's running dynamically, and the posts are all in `public/blog`, layout etc uses Jade (sorry).

There's likely to be traces of my own blog in there, so search for my name!

The posts, archive, about and RSS all look to work.

Search uses elasticsearch and a build process, it's a bit noddy, but I think you were using google search before, so you might want to rip that out.

All the action and routing happens in `server.js` - it's pretty basic and simple, but if you want some method available to you in the jade layouts, stick it on the global in `server.js` (like `global.moment = moment`, nasty, but who cares?).

I'll update with the release process if you want fully static site (I use a free combo of Heroku and Cloudflare for https and hosting) (but it's in the `Makefile` which...is kinda lame too).

If you don't use it - totally cool too ❤

'night!

0 comments on commit 2f74ba3

Please sign in to comment.