Giter Club home page Giter Club logo

ministryofjustice.defence-request-service's Introduction

Defence Solicitor Deployment System

[Code Climate] (https://codeclimate.com/github/ministryofjustice/defence-solicitor)

[Test Coverage] (https://codeclimate.com/github/ministryofjustice/defence-solicitor)

Environment Variables

See .env.development or .env.test

Override local ENV variables in .env.local dotenv docs

Local Setup

To get the application running locally, you need to:

  • Clone the repository

    git clone [email protected]:ministryofjustice/defence-request-service.git

  • Install ruby 2.2.2

    It is recommended that you use a ruby version manager such as rbenv or rvm

  • Install postgres

    http://www.postgresql.org/

  • Bundle the gems

    cd defence-request-service
    bundle install
    
  • Create and migrate the database; run seeds

     bundle exec rake db:create
     bundle exec rake db:migrate
     bundle exec rake db:seed
    
  • Follow the same steps to set up the auth app

    This application uses a corresponding oauth server, which will also need to be running locally. It can be found here

  • Start both servers

     cd defence-request-service && bundle exec rails server
     cd defence-request-service-auth && bundle exec rails server
    
  • Use the app

    You can find the service app running on http://localhost:12121

Test setup

To run the tests, you will need to install PhantomJS, the test suite is known to be working with version 1.9.7, it may or may not work with other versions. To run the tests, use the command: bundle exec rake

ministryofjustice.defence-request-service's People

Contributors

ansonk avatar axemonkey avatar friedsock avatar kerin avatar novotnyjakub avatar oskarpearson avatar pedrosmmoreira avatar pixeltrix 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.