Table of contents

Run an application in the VM

You can use bowler to run an application, it will also run all dependent services and applications. The applications are listed in the Pinfile.

$ cd /var/govuk/govuk-puppet/development-vm
$ bowl rummager

If you want to run an application in development mode with the static assets served from your local copy, run bowler with the STATIC_DEV variable defined and make sure you’re not setting static=0:

$ STATIC_DEV="http://static.dev.gov.uk" bowl planner static

To run a single application without the dependencies you can use foreman. The available apps are defined in the Procfile.

$ cd /var/govuk/govuk-puppet/development-vm
$ foreman start rummager

Most apps also have a startup.sh script in their root folder, and you can run that directly too:

$ cd /var/govuk/rummager
$ ./startup.sh
This page was last reviewed on 15 October 2018. It needs to be reviewed again on 15 April 2019 by the page owner #govuk-2ndline .
This page was set to be reviewed before 15 April 2019 by the page owner #govuk-2ndline. This might mean the content is out of date.