Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 1.43 KB

README.md

File metadata and controls

46 lines (30 loc) · 1.43 KB

Description

Installs and configures a Viewshare instance with a mysql database and memcached.

Requirements

The following cookbooks are direct dependencies:

In addition, the following cookbooks should be run prior to applying this one:

  • python
  • nginx
  • mysql::server
  • mysql::client
  • memcached (optional)

Attributes

  • node["viewshare"]["server_name"]: The hostname for the service. Defaults to the node['fqdn'] value

  • node["viewshare"]["port"]: The port to serve the web application from in Nginx. Defaults to 80

  • node["viewshare"]["application_port"]: The port to run the gunicorn server on. Defaults to 8080

  • node["viewshare"]["debug"]: A boolean value indicating whether the django server should be run in debug mode

  • node["viewshare"]["repository"]: The viewshare repository to clone from

  • node["viewshare"]["revision"]: The revision to use. Defaults to 'master'

  • node["viewshare"]["auth_protect"]: Boolean for whether to use HTTP Basic authentication to put up an obstacle over the viewshare deployment. Credentials are supplied by files/default/htpasswd. Defaults to false.

Usage

Include recipe["viewshare"] in the run list.