Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

ghost-blog Cookbook

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.

Requirements

  • berkshelf
  • nodejs
  • nginx

Attributes

ghost-blog::default

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"

Usage

ghost-blog::default

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.

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a pull request using Github

License and Authors

Authors: Mark J. Berger

License: Apache 2.0

About

A chef cookbook for deploying ghost with sqlite3

Resources

License

Releases

No releases published

Packages

No packages published

Languages