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

Fix fabric #1

Closed
wants to merge 2 commits into from
Closed

Fix fabric #1

wants to merge 2 commits into from

Conversation

starenka
Copy link

@starenka starenka commented Apr 3, 2023

No description provided.

@starenka
Copy link
Author

starenka commented Apr 3, 2023

  • you will need to create github deploy keys (i have no rights to do so) and store it inside the "instance" in order to fetch gh repo. they are used like this during deployment:

c.run("ssh-agent bash -c 'ssh-add ~/.ssh/github_pyconcz && git fetch'")

  • to see fabric ouptut, setup invoke conf like this
    echo 'run = {"echo": True}' > ~/.fabric.py

  • i'd advise against serving the app via django runserver in production as it is done now, you should better use gunicorn or uwsgi w/ systemd service or supervisor... anyway i kept the supervisor command there as you had it there already...

@clytaemnestra clytaemnestra mentioned this pull request Apr 13, 2023
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

Successfully merging this pull request may close these issues.

2 participants