Note: This repository should be imported as
Note: The tps listener has been removed, its functionality is in cloud_controller_ng
the process status reporter
Running Unit Tests
Running TPS specs locally requires postgres running with the correct configuration.
- Install Postgres (version 9.4 or higher is required):
$ brew install postgresql
By default, brew installs Postgres to use /usr/local/var/postgres as its data directory, and the instructions below assume that.
- Run postgres in daemon mode:
$ pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
- Create the
locketdatabase with a specific user
locket_pw when prompted for the user's password.
$ createdb locket $ createuser -d -P -r -s locket
Learn more about Diego and its components at diego-design-notes