Skip to content

Clivern/Kevin-Cookbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kevin-Cookbook

A Chef Cookbook To Deploy Kevin on Linux Servers.

Usage

  1. Add the following recipes to your node run list.
{
    "run_list": [
        "recipe[kevin-cookbook::default]"
    ]
}
  1. Also add the following attributes to the node.
{
    "mysql": {
        "install": true, // To install MySQL (Not Recommended)
        "create_db": true, // To Create the DB (Not Recommended)
        "client": true // Recommended to set to true
    },
    "app": {
        "branch": "master",
        "repository": "https://github.com/Clivern/Kevin.git",
        "fqdn": "xxx.xxx.x.xx", // Server Domain or IP
        "env": {
            "APP_KEY": "yxyxyxyxsydysyayysysysys",
            "DB_CONNECTION": "mysql",
            "DB_HOST": "127.0.0.1",
            "DB_PORT": "3306",
            "DB_DATABASE": "kevin",
            "DB_USERNAME": "root",
            "DB_PASSWORD": "root"
        }
    }
}

We recommend to install MySQL manually on the same server or another server.

  1. The node should be something like that:
{
    "name": "node-01",
    "chef_environment": "_default",
    "normal": {
        "tags": [

        ],
        "mysql": {
            "install": true, // To install MySQL
            "create_db": true // To Create the DB
        },
        "app": {
            "branch": "master",
            "repository": "https://github.com/Clivern/Kevin.git",
            "fqdn": "xxx.xxx.x.xx", // Server Domain or IP
            "env": {
                "APP_KEY": "yxyxyxyxsydysyayysysysys",
                "DB_CONNECTION": "mysql",
                "DB_HOST": "127.0.0.1",
                "DB_PORT": "3306",
                "DB_DATABASE": "kevin",
                "DB_USERNAME": "root",
                "DB_PASSWORD": "root"
            }
        }
    },
    "policy_name": null,
    "policy_group": null,
    "run_list": [
        "recipe[kevin-cookbook::default]"
    ]
}
  1. Finally run the chef-client on your node.

Misc

Changelog

Version 1.0.0:

Coming Soon :D

Acknowledgements

© 2018, Clivern. Released under The Apache Software License, Version 2.0.

Kevin-Cookbook is authored and maintained by @clivern.

Releases

No releases published

Packages

No packages published