Git Product home page Git Product logo

bwq-signage's Introduction

Build Status Build Status Coverage Status

BWQ Signage project

This tool is being developed by Epimorphics on behalf of EA and Defra. We will provide a web application for generating standardised bathing water signage for designated bathing waters in England.

Project officer: Tamsin Appleton, EA

License

Government Licence v3.0

Code of conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Overview

This is a fairly straightforward Rails application, with the exception that there is no back-end database. Details of bathing waters to be displayed on signage are obtained from the bathing water quality linked-data API. The only other state that is stored is the logos of local authorities, so that bathing water controllers from LA's only need to upload their authority's logo once. These logos are stored on an Amazon S3 bucket.

Actions

Install:

git clone [email protected]:DEFRA/bwq-signage.git
cd bwq-signage
bundle

Test:

rails test

Note that the PDF download test currently requires the application to be running on localhost, as the test uses Chrome headless to visit the page and convert rendered HTML to PDF. This test is disabled in Travis. To run during development, ensure that rails server is running in another terminal.

Logo management

Local authority logos are cached in S3. See services/logo_manager.rb for details. AWS credentials are managed via config/initializers/aws.rb. Currently, production AWS credentials are configured separately via the deployment automation scripts.

bwq-signage's People

Contributors

ijdickinson avatar paperclipmonkey 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.