Skip to content

Deploying the application

Whymarrh Whitby edited this page Jun 1, 2016 · 2 revisions

This page details how to deploy control software changes.

Prerequisites

First, read through the following Wiki entries:

Hosts

In preparation for deployment, update the Ansible hosts file (playbooks/hosts).

For example:

[captain]
192.168.88.3 ansible_user=vagrant ansible_ssh_pass=vagrant

[topside]
192.168.88.2 ansible_user=eedge ansible_ssh_pass=eedge ansible_sudo_pass=eedge

[rasprime]
192.168.88.4 ansible_user=pi ansible_ssh_pass=raspberry

[picamera]
192.168.88.5 ansible_user=pi ansible_ssh_pass=raspberry

Deploy

Quick deploy:

  1. Connect the ROV network with the ROV powered on
  2. gradle clean build
  3. vagrant up captain
  4. vagrant ssh captain --command 'cd workspace && ansible-playbook playbooks/deploy.yml'
Clone this wiki locally