Giter Club home page Giter Club logo

landregistry.casework-frontend-alpha's Introduction

casework

Build Status

Coverage Status

Basic frontend for casework. This application can:

  1. Display name change requests from the Service Frontend
  2. Display name change requests from the Service Frontend that need further checking.

This application depends on the following services:

Mint - https://github.com/LandRegistry/mint
Property-Frontend - https://github.com/LandRegistry/property-frontend
Cases - https://github.com/LandRegistry/cases

The application also depends on the following:

Postgres
Python modules specified in requirements.txt - https://github.com/LandRegistry/casework-frontend/blob/master/requirements.txt

###Using the development environment

You can use the development environment created for the alpha: https://github.com/LandRegistry/development-environment

###Running the application manually:

Install the python modules within requirements.txt.  Recommend doing this in a virtual environment.  If pip is
installed, you can type "pip install -r requirements.txt"

You can manually run the app by typing ./run_dev.sh in the terminal.  This will start the application on port 5000.
The script exports the environment variables needed to run the application.  However, to login and use the application
you will need to create the database for the application, then restart the server.

###Create the database and tables

run the script to create the database by typing ./db/create_database.sh
run the script to create the tables by typing ./upgrade_db.sh

Create Users to login to the the application, by adding them to the user database.

Locally:

run ./create_user.sh     This includes the necessary exports and creates a user with the line below:

python manage.py create_user [email protected] --password=password --active=t

On Heroku:

heroku run python manage.py create_user [email protected] --password=password --active=t --app lr-casework-frontend

The fixtures application can also be used to create users relationships to titles. https://github.com/LandRegistry/fixtures

landregistry.casework-frontend-alpha's People

Contributors

ashimali avatar ptrelease avatar opyate avatar richardjpope avatar tsangsimon avatar servingupaces avatar nicolasdevetak avatar alanhugheslandregistry avatar ludhi avatar mooreandrew avatar matthew-shaw avatar skablam avatar psd avatar lrgeofflewis 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.