Giter VIP home page Giter VIP logo

digital-hub's Introduction

Digital Hub for Prisons

CircleCI

This is a mono-repo of the following projects

moj-be/ - Backend service using a customized Drupal instance
moj-node/ - Frontend NodeJS service
moj-matomo/ - Matomo analytics

Together these make the Digital Hub for prisons service.

Run the Digital Hub locally

Prerequisites

The following software is required

Docker
CMake
Node v10.5.3
Composer

Starting the service

Pull the latest version of the service

docker-compose pull

To start the service

docker-compose up hub-be hub-fe

You can then visit the service locally on http://localhost:10001, with the Drupal backend exposed on http://localhost:11001

Using Docker-Compose for development

The development version of the Digital-Hub makes use of additional Docker-Compose configuration that mounts volumes on the host machine.

Pull the dependencies for both the frontend and backend projects

cd moj-node && make build-deps && cd ..
cd moj-be && make build-deps && cd ..

Start the service

docker-compose -f docker-compose.yml -f docker-compose-override.yml up hub-be hub-fe

Notes

All Docker Images are pushed to the Docker Hub organisation here https://hub.docker.com/u/mojdigitalstudio/ with the exception of Matomo which is pushed to a private registry in Azure

If you have Homebrew installed you can run the following in the root of the repository

brew bundle

This will install all of the packages you will need to do development on the project or you can inspect the Brewfile in the root and see what packages you will need

Contributing to the project

If you wish to work on the Digital Hub to provide more content types or features, contributions are welcome

Clone the repo

[email protected]:ministryofjustice/digital-hub.git

Create a feature branch

git checkout -b feature/your-new-feature

Commit and push your changes and raise a Pull Request

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.