A cookbook for deploying the open source bloging platform ghost with sqlite3.
Much of this cookbook is a fork of Ryan Walker's chef-ghost cookbook.
berkshelf
nodejs
nginx
Key | Type | Default |
---|---|---|
[:ghost][:user] | string | "ghost" |
[:ghost][:include_dev_config] | bool | false |
[:ghost][:sqlite_path_dev] | string | "/content/data/ghost-dev.db" |
[:ghost][:sqlite_path_prod] | string | "/content/data/ghost.db" |
[:ghost][:domain] | string | "ghost.example.com" |
[:ghost][:blog_addr] | string | "127.0.0.1" |
[:ghost][:port] | string | "2368" |
[:ghost][:install_path] | string | "/home/ghost" |
[:ghost][:src_url] | string | "https://ghost.org/zip/ghost-0.5.0.zip" |
Set the user
to own and run the instance of ghost. Also set the
install_path
and domain
variables if applicable. Finally include ghost-blog
in a recipe or your node's run_list
:
{
"name":"my_node",
"run_list": [
"recipe[ghost-blog]"
]
}
If you would like to use nginx to serve the ghost instance, use the recipe
ghost-blog::nginx
.
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a pull request using Github
Authors: Mark J. Berger
License: Apache 2.0