Github Pages powered blogging engine focusing on:
- minimum LoC
- minimum dependencies
- minimum amount of features
- minimum time spent from
git clone
to working blog
- Ensure you have Elixir, Git and Git configured to work with Github
- Create your Github Pages repository on Github
- Important: Only add the bare repo if you wish to publish your blog
via
mix gblex.publish
- Important: Only add the bare repo if you wish to publish your blog
via
- Clone this repository
git clone https://github.com/narck/gblex
- Configure your blog title and Github username in
config/config.exs
- Run the following commands inside your local clone:
mix deps.get
mix gblex.init
mix gblex.new "My first blog post"
mix gblex.publish
entries/
contains a sample blog entry which you may wish to delete.
By default gblex
creates a Git repo subdirectory inside your clone which is Git
ignored. You can either use the Mix tasks supplied or use the repo as usual.
That's it!