Python flask application with security
brew install python3
: python installationpython3 -m venv environment_name
: virtual environment creation. ref:https://docs.python.org/3/library/venv.html
source path_of_enviroment/bin/activate
: activate the enviroment. ref:https://code.visualstudio.com/docs/python/tutorial-flask
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
: hombrew installation ref:https://brew.sh/
brew install cloudfoundry/tap/cf-cli@7
: install cloud foundry cli ref:https://github.com/cloudfoundry/cli/wiki/V7-CLI-Installation-Guide
cf login -a api_endpoint
: login to the cloud foundrycf create-service hana securestore pyhana
: create a hana service instance. service plan:securestore
.pip3 install hdbcli
: install thehdbcli client
outside the project folder in the previously created virtual environment.pip3 install cfenv
: install thecfenv
.