Name: casework-frontend-alpha
Owner: HM Land Registry
Description: Creation of new titles. (new registrations)
Created: 2014-07-08 12:01:10.0
Updated: 2015-01-28 07:39:39.0
Pushed: 2015-01-22 10:22:28.0
Homepage: null
Size: 2438
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
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:
- https://github.com/LandRegistry/mint
erty-Frontend - https://github.com/LandRegistry/property-frontend
s - https://github.com/LandRegistry/cases
The application also depends on the following:
gres
on modules specified in requirements.txt - https://github.com/LandRegistry/casework-frontend/blob/master/requirements.txt
can use the development environment created for the alpha: https://github.com/LandRegistry/development-environment
all the python modules within requirements.txt. Recommend doing this in a virtual environment. If pip is
alled, you can type "pip install -r requirements.txt"
can manually run the app by typing ./run_dev.sh in the terminal. This will start the application on port 5000.
script exports the environment variables needed to run the application. However, to login and use the application
will need to create the database for the application, then restart the server.
the script to create the database by typing ./db/create_database.sh
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:
./create_user.sh This includes the necessary exports and creates a user with the line below:
on manage.py create_user --email=testuser@mail.com --password=password --active=t
On Heroku:
ku run python manage.py create_user --email=testuser@mail.com --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