Giter Club home page Giter Club logo

alphagov.govuk-coronavirus-find-support's Introduction

GOV.UK coronavirus - find support (ARCHIVED ⚠️)

This repository is the old Coronavirus Find Support service - https://find-coronavirus-support.service.gov.uk.

It is no longer deployed or in active development.

The service was migrated to Smart Answers and is now available here: https://www.gov.uk/find-coronavirus-support


Run tests

Helps people in the UK find relevant support during the Covid-19 pandemic.

Getting started

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

Prequisites

You will need Postgres installed in order for bundler to install the pg gem (and libpq-dev if on Linux).

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

Running Postgres

Locally

brew install postgres
postgres -D /usr/local/var/postgres

Then set up your local database

rails db:setup

Docker

docker pull postgres
docker run -d -e POSTGRES_PASSWORD=password -e POSTGRES_USER=user -e POSTGRES_DB=coronavirus_form_development -p 5432:5432 postgres

Then set up your Docker database

DATABASE_URL="postgres://user:password@localhost:5432/coronavirus_find_support_form_development" rails db:setup

You'll then need to specify the DATABASE_URL environment variable before the below tasks.

Running the application (Postgres 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.

Exporting form response data

Aggregate data can be exported to a google sheet. See here for more info:

How can you export data

Licence

MIT License

alphagov.govuk-coronavirus-find-support's People

Contributors

alex-ju avatar benjamin-mortimer avatar bevanloon avatar bilbof avatar brucebolt avatar chrisbashton avatar danwilliams avatar dependabot-preview[bot] avatar dependabot[bot] avatar dgarland5 avatar gclssvglx avatar gdsnewt avatar hannahjump avatar huwd avatar injms avatar issyl0 avatar jonathanhallam avatar leenagupte avatar m-green avatar murilodalri avatar nickcolley avatar olliejc avatar pixeltrix avatar reggieb avatar richardtowers avatar rosa-fox avatar stephengill avatar steveholmes avatar theseanything avatar thomasleese avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.