LandRegistry/devenv-dm-processing

Name: devenv-dm-processing

Owner: HM Land Registry

Description: null

Created: 2015-11-26 15:09:25.0

Updated: 2016-01-15 12:41:25.0

Pushed: 2016-07-20 07:26:59.0

Homepage: null

Size: 71

Language: Shell

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

devenv-dm-processing

Early development environment for the Digital Mortgage project.

About

Development environment intended to closely mirror the final server environment.

Requirements:

How to use

Inside the project folder, simply run vagrant up, then 'vagrant ssh' and then connect to your projects on the ports defined in configuration.yaml

Useful commands

All the apps are run by supervisord, here are some helpful aliases for supervisorctl.

us                - view running status of all apps (via supervisorctl)
 {name of app}    - stop app running in supervisord
t {name of app}   - start app running in supervisord
art {name of app} - restart app running in supervisord
ad                - reload supervisord config and restart all apps
tsup              - start supervisord (needed after a vagrant halt/vagrant up)
 registermetadata - browse the registermetadata database (then \d to list migrated tables)

To run the app in the terminal (i.e. not via supervisord, so you can directly see the output)

un {name of app}
Apps

These are held in a private repository at the moment.

Notes

The development environment relies on Vagrant. Currently only Virtualbox is supported as a provider.

For further information on managing Vagrant you can read the official documentation.

TIP: You can improve the start-up time of the development environment by installing the cachier Vagrant plugin.

You can install it by running:

grant plugin install vagrant-cachier

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.