Giter VIP home page Giter VIP logo

opg-lpa's Introduction

LPA Online Service

The Office of the Public Guardian Lasting Power of Attorney online service: Managed by opg-org-infra & Terraform.

Local Development Setup

The first time you bring up the environment:

git clone [email protected]:ministryofjustice/opg-lpa.git
cd opg-lpa

docker-compose run front-composer
docker-compose run admin-composer
docker-compose run api-composer
docker-compose run pdf-composer

docker-compose up

You will also need a copy of the local config file service-front/config/autoload/local.php. Any developer on the team should be able to provide you with this.

The LPA Tool service will be available via https://localhost:7002/home The Admin service will be available via https://localhost:7003

The API service will be available (direct) via http://localhost:7001

After the first time, you bring up the environment with:

docker-compose up

Tests

To run the unit tests

docker-compose run front-app /app/vendor/bin/phpunit
docker-compose run admin-app /app/vendor/bin/phpunit
docker-compose run api-app /app/vendor/bin/phpunit
docker-compose run pdf-app /app/vendor/bin/phpunit

Updating composer dependencies

Composer install is run when the app containers are built, and on a standard docker-compose up.

It can also be run independently with:

docker-compose run <service>-composer

New packages can be added with:

docker-compose run <service>-composer composer require author/package

Packages can be removed with:

docker-compose run <service>-composer composer remove author/package

opg-lpa's People

Contributors

allensea-zz avatar andrewpearce-digital avatar azulinho avatar biggsen avatar brettminnie avatar carinadigital avatar chris-moreton avatar cooperaj avatar digitalali-moj avatar gemtay avatar iterative-it avatar jianzhong avatar m3dwards avatar nkmdk-007 avatar nsmithuk avatar opg-ci avatar ramchale avatar robhowlett avatar simonbusch avatar sophycolbert avatar taylorsj1980 avatar tomtucka 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.