mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-06-18 05:12:21 +00:00
1d67bb36e2
Right now if I add .woff or .woff2 fonts files to an Indigo-based theme's `lms/static/fonts` directory, I get the following error: ``` $ /indigo-folder# make tutor config render --extra-config ./config-totem.yml ./theme "$(tutor config printroot)/env/build/openedx/themes/indigo-totem" Error loading template lms/static/fonts/NotoSans-Bold.woff Traceback (most recent call last): File "/home/maarten/.local/bin/tutor", line 8, in <module> sys.exit(main()) File "/home/maarten/.local/lib/python3.8/site-packages/tutor/commands/cli.py", line 38, in main cli() # pylint: disable=no-value-for-parameter File "/usr/lib/python3/dist-packages/click/core.py", line 764, in __call__ return self.main(*args, **kwargs) File "/usr/lib/python3/dist-packages/click/core.py", line 717, in main rv = self.invoke(ctx) File "/usr/lib/python3/dist-packages/click/core.py", line 1137, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python3/dist-packages/click/core.py", line 1137, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python3/dist-packages/click/core.py", line 956, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/lib/python3/dist-packages/click/core.py", line 555, in invoke return callback(*args, **kwargs) File "/usr/lib/python3/dist-packages/click/decorators.py", line 27, in new_func return f(get_current_context().obj, *args, **kwargs) File "/home/maarten/.local/lib/python3.8/site-packages/tutor/commands/config.py", line 86, in render renderer.render_all_to(dst) File "/home/maarten/.local/lib/python3.8/site-packages/tutor/env.py", line 153, in render_all_to rendered = self.render_file(template) File "/home/maarten/.local/lib/python3.8/site-packages/tutor/env.py", line 137, in render_file template = self.environment.get_template(path) File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 830, in get_template return self._load_template(name, self.make_globals(globals)) File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 804, in _load_template template = self.loader.load(self, name, globals) File "/usr/lib/python3/dist-packages/jinja2/loaders.py", line 113, in load source, filename, uptodate = self.get_source(environment, name) File "/usr/lib/python3/dist-packages/jinja2/loaders.py", line 175, in get_source contents = f.read().decode(self.encoding) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb4 in position 10: invalid start byte make: *** [Makefile:2: render] Error 1 ``` |
||
---|---|---|
.github/ISSUE_TEMPLATE | ||
bin | ||
docs | ||
requirements | ||
tests | ||
tutor | ||
.gitignore | ||
.gitlab-ci.yml | ||
.travis.yml | ||
CHANGELOG.md | ||
CONTRIBUTING.rst | ||
Dockerfile | ||
github-release.py | ||
LICENSE.txt | ||
Makefile | ||
MANIFEST.in | ||
README.rst | ||
setup.py | ||
tutor.spec |
.. _readme_intro_start: Tutor: the docker-based Open edX distribution designed for peace of mind ======================================================================== | .. image:: https://overhang.io/static/img/tutor-logo.svg :alt: Tutor logo :width: 500px :align: center | .. image:: https://img.shields.io/travis/overhangio/tutor.svg?label=Release%20build&style=flat-square :alt: Release build status :target: https://travis-ci.org/overhangio/tutor .. image:: https://img.shields.io/badge/docs-current-blue.svg?style=flat-square :alt: Documentation :target: https://docs.tutor.overhang.io .. image:: https://img.shields.io/github/issues/overhangio/tutor.svg?style=flat-square :alt: GitHub issues :target: https://github.com/overhangio/tutor/issues .. image:: https://img.shields.io/github/issues-closed/overhangio/tutor.svg?colorB=brightgreen&style=flat-square :alt: GitHub closed issues :target: https://github.com/overhangio/tutor/issues?q=is%3Aclosed .. image:: https://img.shields.io/github/license/overhangio/tutor.svg?style=flat-square :alt: AGPL License :target: https://www.gnu.org/licenses/agpl-3.0.en.html **Tutor** is a docker-based `Open edX <https://openedx.org>`_ distribution, both for production and local development. The goal of Tutor is to make it easy to deploy, customize, upgrade and scale Open edX. Tutor is reliable, fast, extensible, and it is already used by dozens of Open edX platforms around the world. Do you need professional assistance setting up or managing your Open edX platform? Overhang.IO provides online support as part of its `Long Term Support (LTS) offering <https://overhang.io/tutor/lts>`__. A note to US users ------------------ Dear US voters, At the risk of stating the obvious, the coming election that will happen in your country will deeply affect you as well as the rest of the world. We are all waiting in anguish, hoping that you will not re-elect a dangerous, racist maniac that borders on fascism. Please *do not* fuck this up. Thank you. Régis Behmo, principal Tutor maintainer Features -------- * 100% `open source <https://github.com/overhangio/tutor>`__ * Runs entirely on Docker * World-famous 1-click `installation and upgrades <https://docs.tutor.overhang.io/install.html>`__ * Comes with batteries included: `theming <https://github.com/overhangio/indigo>`__, `SCORM <https://github.com/overhangio/openedx-scorm-xblock>`__, `HTTPS <https://docs.tutor.overhang.io/configuration.html#ssl-tls-certificates-for-https-access>`__, `web-based administration interface <https://docs.tutor.overhang.io/extra.html#web-ui>`__, `mobile app <https://docs.tutor.overhang.io/extra.html#mobile-android-application>`__, `custom translations <https://docs.tutor.overhang.io/configuration.html#adding-custom-translations>`__... * Extensible architecture with `plugins <https://docs.tutor.overhang.io/plugins.html>`__ * Works with `Kubernetes <https://docs.tutor.overhang.io/k8s.html>`__ * No technical skill required with the `1-click Tutor AWS image <https://docs.tutor.overhang.io/install.html#cloud-deployment>`__ * Professional support and premium plugins available with `Tutor Long Term Support (LTS) <https://overhang.io/tutor/lts>`__ .. _readme_intro_end: .. image:: ./docs/img/quickstart.gif :alt: Tutor local quickstart :target: https://terminalizer.com/view/91b0bfdd557 Quickstart ---------- 1. Install the `latest stable release <https://github.com/overhangio/tutor/releases>`_ of Tutor 2. Run ``tutor local quickstart`` 3. You're done! Documentation ------------- Extensive documentation is available online: https://docs.tutor.overhang.io/ .. _readme_support_start: Support ------- To get community support, go to the official discussion forums: https://discuss.overhang.io. For official support, please subscribe to a Long Term Support (LTS) license at https://overhang.io/tutor/lts. .. _readme_support_end: .. _readme_contributing_start: Contributing ------------ We are very much open to new ideas and features for Tutor. If you have an improvement idea, feel free to first discuss it on the `Tutor forums <https://discuss.overhang.io>`_. If you are not quite familiar with Open edX or if you need technical advice, the forums are a great place to start, too. Did you find an issue with Tutor? Please first make sure that it's related to Tutor, and not an upstream issue with Open edX. Then, `open an issue on Github <https://github.com/overhangio/tutor/issues/new/choose>`_. `Pull requests <https://github.com/overhangio/tutor/pulls>`_ will be happily examined, too! .. _readme_contributing_end: