This cookbook will install web_app on Liux OS.
Key | Type | Description | Default |
---|---|---|---|
['web_app']['current_path'] | String | path to cloned repository | '/var/www/projects/webapp/current' |
['web_app']['release_path'] | String | path to release | 'var/www/projects/webapp/release' |
['web_app']['npm_version'] | String | Npm version | '3.10.7' |
Just include web_app
in your cookbook:
include_recipe 'web_app'
If you wish to change a current or/and release path, e.g: var/tmp/my_path
{
"web_app": {
"current_path": "var/tmp/my_path"
}
}
If you wish to change an Npm version, for example '3.10.8':
{
gettaxi_npm_install: {
npm_version: "3.10.8"
}
}
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write you change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
Authors: Michael Vershinin