Learn Hanami by reading, short, curated, manually crafted code snippets.
- Git (
brew install git
) - Hugo (
brew install hugo
) - NPM or Yarn (
brew install npm
orbrew install yarn
) - Carbon Now CLI (
npm i -g carbon-now-cli
oryarn global add carbon-now-cli
)
- Fork the repository.
- Copy the
.carbon-now.json
into your home directory. - Create a new post via
hugo new posts/my-cool-snippet.md
. - Edit the contents. Make sure the first code snippet in the post is the most representative of the contents you want to share.
- Start the server and see how the new post looks like:
bin/server
. - Generate a new image for social sharing with
bin/export my-cool-snippet
. This must match the file name of the post. - Open a Pull Request.
Hanami © 2014-2018 Luca Guidi - Released under the MIT License. The contents of this website are released under Attribution-ShareAlike 4.0 International License (CC BY-SA 4.0).