Ripped off from adrianshort.org
$ git remote -v
origin https://github.com/hakimel/reveal.js.git (fetch)
origin https://github.com/hakimel/reveal.js.git (push)
''' | |
If you ever need to install, enable, or debug an add-on that's running on a headless Blender install | |
(ie, on a server like AWS Deadline), then you can run Blender's Python console from the terminal directly. | |
This was originally posted here: https://blender.stackexchange.com/questions/73759/install-addons-in-headless-blender, but | |
I'm saving in a Gist for future me and others. | |
First, run this in the terminal: | |
blender -b --python-console | |
import sys | |
import contextlib | |
import io | |
class ConsoleReader(io.StringIO): | |
def __init__(self, stream): | |
super().__init__() | |
self.stream = stream | |
def enable(self): |
Ripped off from adrianshort.org
$ git remote -v
origin https://github.com/hakimel/reveal.js.git (fetch)
origin https://github.com/hakimel/reveal.js.git (push)