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)
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
This repository is provided "as-is". No support is available. Feel free to open issues or provide pull requests.
This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.