Giter VIP home page Giter VIP logo

whistleblower's Introduction

CMA Whistleblower Web Application

Development Environment

Development was carried out in a Hyper-V virtual machine built via the Quick Create Action, Ubuntu 20.04 Operating System.

Prerequisites

  • Ruby 2.7.4
  • PostgreSQL
  • NodeJs 14.x
  • Yarn 1.22.x
  • Docker

Setting up the app in development

  1. Run bundle install to install the gem dependencies
  2. Run yarn to install node dependencies
  3. Run bin/rails db:setup to set up the database development and test schemas, and seed with test data
  4. Run bundle exec rails server to launch the app on http://localhost:3000
  5. Run ./bin/webpack-dev-server in a separate shell for faster compilation of assets

Frameworks used

  • The development is based on the DFE Rails Template, which includes the GOV UK Design System Form Builder

Environment variables

The application requires the following environment variables to be configured

Name Purpose
DB_HOST Database URL
DB_DATABASE Database name
DB_USERNAME Database username
DB_PASSWORD Database password
STORAGE_ACCOUNT_NAME Azure Storage account name
STORAGE_ACCESS_KEY Azure Storage access key
STORAGE_CONTAINER Azure Storage container name
GOVUK_NOTIFY_API_KEY GOV UK Notification Service API Key
SERVICE_REVIEW_URL URL of feedback form
MWR_TRANSMIT_API URL of service API

Licence

MIT License

whistleblower's People

Contributors

jonbeckett avatar

Watchers

 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.