Skip to content
This repository has been archived by the owner on Oct 17, 2021. It is now read-only.

briangershon/bitesizeblog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bitesizeblog

Personal blog based on bitesize library.

Background

I'm a big fan of the Jekyll-based static blog sites, namely writing markdown files and saving in GitHub.

I enjoyed Octopress, and started porting to Hexo, but really want to have only my content in a repo with simple blog infrastructure.

This has led to developing the bitesize JavaScript library, which won't generate a static site, but will source the blog markdown content from a GitHub repo.

How to run site in development mode

Customize repo access token via setting system environmental variable:

    # set these in your shell, or in your deployment environment
    #   e.g. heroku config:set BITESIZE_GITHUB_ACCESS_TOKEN='xyz'

    # create access token in github.com
    BITESIZE_GITHUB_ACCESS_TOKEN='token-goes-here'
    BITESIZE_BLOG_GITHUB_REPO='briangershon/blog.evolvingbits.com'
    BITESIZE_BLOG_GITHUB_POST_PATH='posts'

Customize the rest of settings in a config.yml file in the root of your repo.

See https://github.com/briangershon/blog.evolvingbits.com for an example config.yml and markdown posts.

Install node modules and start up app:

    npm install
    npm start

View site at http://localhost:3000

About

Personal blog based on Node, Express and bitesize blog library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published