A Vagrant environment for Conveyal's GTFS Editor
The GTFS Editor works reasonably well, but has a quirk in that it relies on the non-current Java version 7, which will be not supported in the near future. Due to a history of vulnerabilities, running an unsupported Java version is not recommended.
Vagrant offers a way to quickly and automatically set up a virtual machine environment to run this software only when necessesary.
This Vagrantfile:
- Provisions an Ubuntu 14.04 32 bit VM (the last LTS release with Java 7) with 2GB ram,
- Sets up a swapfile,
- Installs Java and unzip,
- Downloads the gtfs-editor,
- Installs Play Framework 1.2.6,
- Installs gtfs-editor's dependencies, and finally
- Runs the gtfs-editor such that it is accessible from your host computer at localhost:9000
Usage:
- Install vagrant and Virtualbox
- Clone this repository
git clone https://github.com/laidig/vagrant-gtfs-editor/
- Change into the repository directory
cd vagrant-gtfs-editor
- Run
vagrant up
- Wait for box to be downloaded, box will then start and install dependencies
- When done, you will have a gtfs-editor instance on http://localhost:9000