Coder Social home page Coder Social logo

hmcts-civil-appeal-case-tracker's Introduction

#Case tracker

A public facing service written in Java. The public use the service to track civil appeal cases.

This is a legacy application maintained by Tactical Products team.

##Dependencies

###For local development

  • Virtual machine (eg. Virtual box or Parallel Desktop)
  • Windows 8 or 10
  • SQL Server 2012 Express

###For frontend

##Setting up

###Install Ant Ant can be installed quiet easily using Homebrew

$ brew install ant

Check ant has installed properly by running ant. If you see the following after running ant then you know it has been installed successfully

$ ant
Buildfile: build.xml does not exist!
Build failed

####Setup environment variables for build process

You will need the following information to substitue in the scripts below :

  • /path/to/tomcat path to you systems Tomcat installation
  • connection-string is the connection string to your database and tables for the service to use
  • connection-username is the database username
  • connection-password is the database users password
$ echo 'export TOMCAT_PATH="/path/to/tomcat"' >>~/.bash_profile
$ echo 'export DEV_CASE_TRACKER_URL="connection-string"' >> ~/.bash_profile
$ echo 'export DEV_CASE_TRACKER_USER="connection-username"' >> ~/.bash_profile
$ echo 'export DEV_CASE_TRACKER_PWD="connection-password"' >> ~/.bash_profile

If you plan on deploying to staging and production you will need to run the following:

$ echo 'export STAGE_CASE_TRACKER_URL="connection-string"' >> ~/.bash_profile
$ echo 'export STAGE_CASE_TRACKER_USER="connection-username"' >> ~/.bash_profile
$ echo 'export STAGE_CASE_TRACKER_PWD="connection-password"' >> ~/.bash_profile

$ echo 'export LIVE_CASE_TRACKER_URL="connection-string"' >> ~/.bash_profile
$ echo 'export LIVE_CASE_TRACKER_USER="connection-username"' >> ~/.bash_profile
$ echo 'export LIVE_CASE_TRACKER_PWD="connection-password"' >> ~/.bash_profile

Now run it so its available in your current terminal

$ source ~/.bash_profile

###Get the source code Clone this repository

$ git clone [email protected]:ministryofjustice/hmcts-civil-appeal-case-tracker.git

Next change the directory to the new project

$ cd hmcts-civil-appeal-case-tracker.git

###Front-end development

Install Node js (version 4) using homebrew

First install and setup Gulp and the dependencies

$ npm install

This should setup Gulp and all its tasks

Command Description
gulp Runs the default taks which performs all the below tasks in the order they appear below(except lint)
gulp delete Deletes the build/assets folder i.e the compiled CSS and JS.
gulp minify Minifies all the css files and addes them to the build/assets folder
gulp uglify Minifies all the Javascript files and addes them to the build/assets folder
gulp lint Checkes the Javascript to ensure the it meets specific rules
gulp watch Whats the CSS and JS source folders and if any thing changes it runs either minify or uglify tasks

hmcts-civil-appeal-case-tracker's People

Contributors

aliuk2012 avatar andrew-mcmahon7 avatar andrewlarssen avatar mark-butler-solirius avatar matt-k1998 avatar matthewsearle01 avatar rohanssalunkhe avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

uk-gov-mirror

hmcts-civil-appeal-case-tracker's Issues

User access removed, access is now via a team

Hi there

This user had Direct Member access to this repository and access via a team.

Access is now only via a team.

If you have any questions, please post in #ask-operations-engineering on Slack.

This issue can be closed.

Default branch is not main

Hi there
The default branch for this repository is not set to main
See repository settings/settings/branches to rename the default branch to main and ensure the Branch protection rules is set to main as well
See the repository standards: https://github.com/ministryofjustice/github-repository-standards
See the report: https://operations-engineering-reports.cloud-platform.service.justice.gov.uk/github_repositories
Please contact Operations Engineering on Slack #ask-operations-engineering, if you need any assistance

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.