We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
12 factor apps like podcast api use a .env file, add a way to modify such files such as:
.env
fab production set_env:ENV_VAR,ENV_VALUE
if the env exists, then replace if not, then append. http://docs.fabfile.org/en/1.11/api/contrib/files.html
Something like this should work:
if fabric.contrib.files.contains().failed: fabric.contrib.files.append() else: fabric.contrib.files.sed()
maybe use if fabric.contrib.files.sed().failed: directly
if fabric.contrib.files.sed().failed:
The text was updated successfully, but these errors were encountered:
https://github.com/theskumar/python-dotenv
Sorry, something went wrong.
No branches or pull requests
12 factor apps like podcast api use a
.env
file, add a way to modify such files such as:if the env exists, then replace if not, then append. http://docs.fabfile.org/en/1.11/api/contrib/files.html
Something like this should work:
maybe use
if fabric.contrib.files.sed().failed:
directlyThe text was updated successfully, but these errors were encountered: