Skip to content
New issue

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

How to use repo's fabfile ? #181

Open
vfabi opened this issue Dec 9, 2015 · 1 comment
Open

How to use repo's fabfile ? #181

vfabi opened this issue Dec 9, 2015 · 1 comment

Comments

@vfabi
Copy link

vfabi commented Dec 9, 2015

Hi,
Could you please tell me how to use repo's fabfile and run it's tasks ?

@baccenfutter
Copy link

Found the answer after reading the source:
As of current master branch you simply put fabfile.py into your repositories root directory.

When you install Fabric-Bolt via your system's python-pip or package-manager, and you are not executing fabric-bolt as root, Fabric-Bolt cannot write to the default cache directory, which in our case was located at /usr/local/python/site-packages/fabric-bolt/public. You can easily overwrite the PUBLIC_DIR variable in the settings.py. The PUBLIC_DIR is used to as a local cache (i.e. for remote repos containing fabfiles).

Additionally, if your project repository isn't publicly accessible, you have to generate an ssh-key for Fabric-Bolt and point to it via GIT_SSH_KEY_LOCATION in the settings.py.

After adding those two variables to our settings.py, when navigating to the project's dashboard view, we where finally presented with the available tasks contained in the stated fabfile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants