Skip to content
Helps citizens get support during the COVID-19 pandemic
Ruby HTML Gherkin CSS Other
Branch: master
Clone or download

Latest commit

Latest commit 7253be1 Apr 6, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app Remove validate_mandatory_text_fields method Apr 6, 2020
bin Initial commit Mar 19, 2020
concourse Remove smoke test checking CSS path doesn't change Apr 1, 2020
config Update NHS number page to match prototype Apr 3, 2020
db Remove postgres references Mar 22, 2020
features Move medical conditions question to earlier in the flow Mar 31, 2020
lib Merge pull request #40 from alphagov/update-styling-for-medical-condi… Mar 22, 2020
log Initial commit Mar 19, 2020
public Don't ignore png and fonts for error pages Apr 3, 2020
script Add boilerplae cucumber files Mar 22, 2020
spec Add postcode to test query Apr 6, 2020
vendor Initial commit Mar 19, 2020
.cfignore Update Procfile to run migrations Mar 21, 2020
.dockerignore Container image to run feature tests in pipeline Mar 28, 2020
.gitignore Don't ignore png and fonts for error pages Apr 3, 2020
.rspec Initial commit Mar 19, 2020
.rubocop.yml Set config.hosts for all environments Apr 3, 2020
.ruby-version Initial commit Mar 19, 2020
.travis.yml Remove pg from Gemfile and update travis Mar 22, 2020
Gemfile Merge pull request #232 from alphagov/dependabot/bundler/govuk_publis… Apr 6, 2020
Gemfile.lock Bump dynamoid from 3.4.1 to 3.5.0 Apr 6, 2020
Procfile Remove postgres references Mar 22, 2020
README.md Fix Concourse URL for this repo Mar 25, 2020
Rakefile Fix Style/StringLiterals RuboCop offenses Mar 20, 2020
app.json Switch continuous deployment pipeline Mar 21, 2020
config.ru Initial commit Mar 19, 2020
manifest.yml Remove basic auth Mar 23, 2020

README.md

CoronavirusForm

This is an application for submitting a form.

Getting started

The instructions will help you to get the application running locally on your machine.

Prequisites

You'll need an Amazon DynamoDB local instance running in a docker container.

You'll need a JavaScript runtime: https://github.com/rails/execjs
Clone the app and run bundle locally.

Running DynamoDB

Docker

Run the following to set up the local version of DynamoDB

    docker pull amazon/dynamodb-local 
    docker run -d -p 8000:8000 amazon/dynamodb-local 

Running the application (DynamoDB will need to be running)

foreman start

Running the tests

bundle exec rake

Deployment pipeline

Every commit to master is deployed to GOV.UK PaaS by this concourse pipeline, which is configured in concourse/pipeline.yml.

The concourse pipeline has credentials for the govuk-forms-deployer user in GOV.UK PaaS. This user has the SpaceDeveloper role, so it can cf push the application.

You can’t perform that action at this time.