Skip to content

Latest commit

 

History

History
26 lines (14 loc) · 867 Bytes

README.md

File metadata and controls

26 lines (14 loc) · 867 Bytes

publicwhip_server

Introduction

This is the configuration management code that provisions a server for the Ukraine version of They Vote For You.

Provisioning

For starting a local VM for testing provisioning you will need Vagrant. For configuration management you will need Ansible. Also:

vagrant plugin install vagrant-hostsupdater

Create a file .vault_password_file.txt with the secret password used to encrypt the secret info in this repo.

You can easily create a local test server with:

vagrant up

To provision the production server run:

ansible-playbook --user=root -i hosts playbook.yml

Deployment

Deployment is done from the main repository using Mina. See the readme there for instructions.