Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

alphagov/land-availability-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

land-availability-ui

Land Availability Tool - Frontend

Continuous integration status

Travis-CI Status Coverage Status

PostgreSQL Setup

Make sure you have PostgreSQL (tested with 9.6) installed.

It's strongly suggested to use Postgres.app on OSX and to install all the other tools and dependencies using brew.

Create DB

createdb landavailability-ui

Project Configuration

Make sure you have these environment variables set:

DATABASE_URL=postgres://USERNAME:PASSWORD@HOST:PORT/DBNAME
SECRET_KEY='abcd1234'
LAND_AVAILABILITY_API_URL=http://localhost:8000
LAND_AVAILABILITY_API_TOKEN=abcd1234

Example value:

DATABASE_URL=postgres://andreagrandi@localhost:5432/landavailability-ui

If you are using a Python virtual environment, you can save these values in $venv_folder/bin/postactivate script:

export DATABASE_URL=postgres://andreagrandi@localhost:5432/landavailability-ui
...

Python

The project is being developed and tested with Python >= 3.5.x

About

Land Availability Tool - Frontend

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published