Skip to content
This repository has been archived by the owner on Dec 30, 2021. It is now read-only.

GSA/datagov-deploy-dashboard

Repository files navigation

CircleCI

datagov-deploy-dashboard

Ansible role to deploy the Project Open Data Dashboard on the Data.gov platform. This is part of GSA/datagov-deploy.

Usage

This role assumes you've already installed git, nginx, php, php-fpm, and composer. Add this role and its dependencies to your requirements.yml file.

---
- src: https://github.com/GSA/datagov-deploy-dashboard
  version: v1.0.0
  name: gsa.datagov-deploy-dashboard
- src: geerlingguy.composer
- src: geerlingguy.git
- src: geerlingguy.php
- src: geerlingguy.php-versions
- src: nginxinc.nginx

Install with ansible-galaxy.

$ ansible-galaxy install -r requirements.yml

Example playbook.

---
- name: install dashboard
  roles:
    - role: geerlingguy.git
    - role: geerlingguy.php-versions
    - role: geerlingguy.php
    - role: geerlingguy.composer
    - role: nginxinc.nginx
    - role: gsa.datagov-deploy-dashboard

Variables

dashboard_php_major_minor_version default: "7.3"

The major-minor version of PHP to install against.

Development

Prerequisites

Setup

Install dependencies.

$ pipenv install --dev

Run the tests.

$ pipenv run molecule test --all

For more information on how to use Molecule for development, see our wiki.

Contributing

See CONTRIBUTING for additional information.

Public domain

This project is in the worldwide public domain. As stated in CONTRIBUTING:

This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication.

All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.