Skip to content

Pivotal-Boulder/pivot-texts

Repository files navigation

Pivot Texts

This application stores and retrieves test messages from pivots. Stored messages include the pivot id and name. Please visit /swagger-ui.html for api docs.

Dependencies

Setup

  1. Install postgres: brew install postgres
  2. Create a postgres database super user admin with password 'admin': createuser admin --superuser --password
  3. Create postgres databases: createdb pivot-texts && createdb pivot-texts-test
  4. cp deployment/pivot-texts-api/src/resources/application.yml.example deployment/pivot-texts-api/src/resources/application.yml

Running

  1. gradle bootRun
  2. Navigate to http://localhost:8080/pivot-texts/today
  3. Log in using details from deployment/pivot-texts-api/src/resources/application.yml

Running tests

  1. Start postgres postgres -D /usr/local/pgsql/data
  2. ./gradlew :deployment/pivot-texts-api:test
  3. ./gradlew clean test

Deploying to Cloud Foundry

  1. Create a postgres service
  2. Modify manifest.yml with correct postgres service name, environment variable values
  3. cf push

TODO

It would be nice to have an example of a component based front end web application build.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages