An open API service indexing awesome lists of open source software.

https://github.com/timwaters/learninginleeds

Leeds Adult Learning website (Innovation Lab product)
https://github.com/timwaters/learninginleeds

Last synced: 5 months ago
JSON representation

Leeds Adult Learning website (Innovation Lab product)

Awesome Lists containing this project

README

          

# LearningInLeeds

Resulting from a LCC Innovation Lab this is a course finder for about 300 courses by the City and run by a number of providers and dozens of venues. It offers a range of first step courses for adults, such as basic IT skills, ESOL, caring and crafts. Within the first 24 hours of launch it received over 3000 visits, in the first month, it had over 25,000 visits, with the average user spending three minutes on the site.

It can be seen in operation at [LeedsAdultLearning.co.uk](https://leedsadultlearning.co.uk/)

## Screenshots

### Homepage
![Homepage](/screenshot-home.png)

### Course Detail
![Course Detail](/screenshot-course.png)

### Admin Page
![Admin page](/screenshot-admin.png)

## Features

* Automatic imports of courses from Data Mill North (open data site)
* Full text search with support for sounds like and spelling mistakes
* Geographical, near searches
* Bus and walking directions to the start of the course from any point
* Add to calendar links for course start
* Showing courses by topics or categories
* Responsive and mobile friendly.
* Simple CMS admin UI for staff to update text pages, change records etc
* Caching of external API requests, front page and CMS pages
* Recent searches kept

## Technology

* Ruby on Rails
* Devise and Active Admin for admin UI
* Postgresql, PostGIS and pg_search for db, geo, full text stuff
* Bootstrap for front end user interface layout, CSS etc
* OSRM, Transport API and Bing Transit for journey planning and geocoding etc

Commands for running the Docker OSRM:

First get an .osm.pbf extract (e.g. from geofabrik.de )

docker run -t -v $(pwd):/data osrm/osrm-backend osrm-extract -p /opt/foot.lua /data/west-yorkshire-latest.osm.pbf
docker run -t -v $(pwd):/data osrm/osrm-backend osrm-partition /data/west-yorkshire-latest.osrm
docker run -t -v $(pwd):/data osrm/osrm-backend osrm-customize /data/west-yorkshire-latest.osrm
docker run --restart=always -t -i -p 127.0.0.1:5000:5000 -v $(pwd):/data osrm/osrm-backend osrm-routed --algorithm mld /data/west-yorkshire-latest.osrm