I'm developing Django project in PyCharm and everything works properly. I've install fabric to my virtual env, and add fabfile.py in to my project. In this file I placed one test task definition:
def hello():
print("Hello fabric!")
After that I'm trying to execute this task directly from my PyCharm. Do you have any suggestions how can I do it?
Add a "Python" run configuration with /path/to/your/env/bin/fab
as the script and hello
as the script parameters.
Set the working directory to the directory with the fabfile.
Example:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With