Skip to content

Ralphive/btp-12-dogs-app

Folders and files

NameName
Last commit message
Last commit date
May 13, 2021
Oct 6, 2021
May 20, 2021
May 20, 2021
May 13, 2021
Aug 5, 2021
May 13, 2021
Jul 14, 2021
Oct 6, 2021
May 20, 2021
Jan 22, 2023
Jan 22, 2023

Repository files navigation

12-dogs-app

License: Apache2

Description

Sample 12-factor app implementation to run on SAP Business Technology Platform (cloud foundry)

This application can be deployed also on a Local Machine (for development purposes)

Requirments

Deployment

STEP 1 - Download or Clone this repository

STEP 2 - Navigate to the directory you cloned and Push the app to Cloud Foundry

cf push --random-route

STEP 3 - Set the environment variables using the following command.

cf set-env 12-dogs DOG_BREED spaniel
cf set-env 12-dogs DOG_SUBBREED cocker

**STEP 4 ** - Create the DB service Instance

cf marketplace
** TO DO ** 

STEP 5 - Restart the app

cf restart 12-dogs

STEP 6 - Run the app on the route displayed in the terminal

Support and Contributions

This repository is provided "as-is". No support is available. Feel free to open issues or provide pull requests.

License

This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.