Giter Club home page Giter Club logo

hocs-mi-dashboards's Introduction

Deployment Process

Pushing a new version of the Docker image

  1. Create a pull request with your changes.
  2. Add a label to the pull request, one of major, minor or patch, depending on your changes. The label will determine how the version number is incremented, following major.minor.patch. The pipeline will fail without this label and a new image will not be pushed to the repository.
  3. After the tests have passed, merge the pull request.
  4. A Github actions workflow will rerun the tests. If they pass, it will build the docker image. It will then push the image to the quay repository, tagged with the new version number and create a matching tag in the github repository.
  5. The creation of a tag in the github repository will trigger the drone pipeline to run and deploy the image to the kubernetes cluster.

Local Develpoment

Deploying the app

  1. Local development with seed data requires the [Transformation][https://github.com/UKHomeOffice/hocs-mi-transformation] Database to be deployed.

  2. This also requires the [Transformation][https://github.com/UKHomeOffice/hocs-mi-transformation] process to be completed.

  3. Setup the virtual environment

$ make build
$ make serve-transformation
$ make serve
  1. Clean down the [Transformation][https://github.com/UKHomeOffice/hocs-mi-transformation] repository
$ make stop
$ make clean

Command to run locally

$ PYTHONPATH=./ python app/index.py

hocs-mi-dashboards's People

Contributors

rhysjones125 avatar jimmysundance avatar elcorbs avatar michaelcullenmadetech avatar

Watchers

James Cloos avatar

Forkers

ukhomeoffice

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.