Skip to content
Frontend component for the lasting power of attorney service
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
config
content/guidance
data/cache
docker
env
module/Application
public
.gitignore
.ignore
.jshintrc
.scss-lint.yml
Dockerfile
Gruntfile.js
Jenkinsfile
LICENCE
LICENSE-ZF2.txt
Makefile
composer.json
composer.lock
deployment.properties
deployment.xml
docker-compose.yml
package-lock.json
package.json
readme.md
run-composer.sh
testCoverage.sh

readme.md

Lasting Power of Attorney Front End

The Lasting Power of Attorney front end makes up the user facing views and business logic which, together with our internal APIs, makes up the online Lasting Power of Attorney tool.

Building assets

Static assets are generated using grunt.

grunt build

To setup Grunt within the container

apt-get update && apt-get install nodejs-legacy npm ruby-sass

npm install -g grunt grunt-cli grunt-contrib-sass --save-dev

cd /app
npm install

Tests

Some unit tests can be found in opg-lpa-front/module/Application/tests/

All other tests are located with the lpa-deploy repository.

With special thanks to BrowserStack for providing cross browser testing.

Development

Updating composer libraries

cd /app
curl -s https://getcomposer.org/installer | php
php composer.phar self-update
php composer.phar update --prefer-dist --optimize-autoloader

License

The Lasting Power of Attorney Data Models are released under the MIT license, a copy of which can be found in LICENSE.

You can’t perform that action at this time.