Coil is a minimalistic blog engine written in elixir.
You must have the latest stable version of elixir installed.
Choose one of the following:
git clone https://github.com/badosu/coilblog
cd coilblog && mix deps.get
```
### Use the `mix coil` command
Clone the repo, fetch dependencies and compile:
````bash
git clone https://github.com/badosu/coil
cd coil && mix do deps.get, compile
Bootstrap a sample coil blog:
mix coil ../my-blog
cd ../my-blog && mix deps.get
```
Usage
-----
Edit `config.yml`.
Add an article: `mix post`
And run:
````bash
PORT=8080 mix run --no-halt
Deploy to Heroku:
heroku create --buildpack "https://github.com/goshakkk/heroku-buildpack-elixir.git"
git push heroku master
Any file stored on the public/
folder will be served at the /public
route
Templates are stored in the templates/
folder, and are embedded elixir files
See the EEx docs
layout.html.eex
The template in which all other templates are embeddedindex.html.eex
Renders the home pagearticle.html.eex
Renders the article pagearchives.html.eex
Renders the archives pageindex.xml.eex
Renders the rss feed
The content should be plain markdown.
Articles are stored in articles/YYYY-mm-dd-article-title.md
The MIT License, see LICENSE