Skip to main content
# CF Buildpack Dashboard

## Dependencies
In order to run this application you need the [cf-light-api](https://github.com/SpringerPE/cf-light-api) running at
a known endpoint.
Each `cf-light-api` endpoint needs to be provided as a value by populating the `CF_BUILDPACK_DASHBOARD_ENVIRONMENT` env
variable.

## Configuration

The `cf_buildpack_dashboard` application accepts the following configuration parameters passed
by env variables:

- `CF_BUILDPACK_DASHBOARD_ENVIRONMENT`: a json dictionary mapping different environments to their api endpoints. For example ```{"test": "http://cf-light-api-test.example.com", "prod": "https:cf-light-api-prod.example.com"}```
- `PORT`: the port to which the application binds. If running in Cloudfoundry it will be provided by the platform.

## Building for pip

To build the `tar.gz` pip package simply run: ```python setup.py sdist```
from the project root directory.

## Installing and Running

### Pip install
You can install the application from `pypi.org` by running `pip install cf_buildpack_dashboard`. This will install an
executable script that you can call directly `cf_buildpack_dashboard`

### Cloudfoundry manifest
You can target as well a Cloudfoundry installation by providing a manifest as in the following example:

```
applications:
- name: cf-buildpack-dashboard
instances: 1
memory: 256MB
command: ./run_app.py
env:
CF_BUILDPACK_DASHBOARD_ENVIRONMENTS: '{
"test": "https://cf-api.test.example.com",
"dev": "https://cf-api.dev.example.com",
"live": "https://cf-api.live.example.com"
}'

```
and push with `cf push`

### Provided script
The application can also be run as a simple python application by installing the
requirements and using the provided `run_app.py` script.

## Running the tests

```
nosetests -s
```

Metadata

Release files for cf_buildpack_dashboard 0.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cf_buildpack_dashboard 0.0.9
File Size Uploaded
cf_buildpack_dashboard-0.0.9.tar.gz 12.7 MB Details

Release files / cf_buildpack_dashboard-0.0.9.tar.gz

Download URL cf_buildpack_dashboard-0.0.9.tar.gz
Size 12.7 MB
Tags Source
SHA-256 checksum
How to use checksums
967a5872a754a61b65c7b82d342d3438d83a35d4555054e291477ae1ee42d7b8
BLAKE2b-256 checksum
How to use checksums
0d16d0ead6502014fa9de76691ffdf8edeeb05b75b09a4732fa7bbe9237e0f3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.9 This release

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page