initial commit
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
3.13
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
# 50ohm.de
|
||||||
|
|
||||||
|
50ohm.de ist die Ausbildungsplattform des DARC e.V.
|
||||||
|
|
||||||
|
Mit dem Code aus diesem Repository kann die Website aus der Originalquelle (eine Directus-Instanz) gebaut werden.
|
||||||
|
|
||||||
|
## Überblick
|
||||||
|
|
||||||
|
TODO: Überblick über Architektur
|
||||||
|
|
||||||
|
## Mitmachen
|
||||||
|
|
||||||
|
TODO: Installation erklären
|
||||||
|
|
||||||
|
Dieses Projekt wurde mit [`uv`](https://docs.astral.sh/uv/) aufgesetzt, ist aber genauso mit `pip` und `venv` kompatibel.
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
FROM python:3.12
|
||||||
|
|
||||||
|
# RUN apt-get update -qq && apt-get install -y \
|
||||||
|
# wget \
|
||||||
|
# libswitch-perl \
|
||||||
|
# gnupg \
|
||||||
|
# && apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||||
|
#
|
||||||
|
# COPY ./texlive.profile /tmp/
|
||||||
|
# RUN cd /tmp && wget -qO- https://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz | tar xz \
|
||||||
|
# && /tmp/install-tl*/install-tl -profile /tmp/texlive.profile \
|
||||||
|
# && rm -rf /tmp/install-tl-*
|
||||||
|
#
|
||||||
|
# ENV PATH="/usr/local/texlive/bin/x86_64-linux:${PATH}"
|
||||||
|
|
||||||
|
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
|
||||||
|
|
||||||
|
COPY --from=texlive/texlive:latest /usr/local/texlive /usr/local/texlive
|
||||||
|
|
||||||
|
RUN $(find /usr/local/texlive -name tlmgr) path add && \
|
||||||
|
# Temporary fix for ConTeXt (#30)
|
||||||
|
(sed -i '/package.loaded\["data-ini"\]/a if os.selfpath then environment.ownbin=lfs.symlinktarget(os.selfpath..io.fileseparator..os.selfname);environment.ownpath=environment.ownbin:match("^.*"..io.fileseparator) else environment.ownpath=kpse.new("luatex"):var_value("SELFAUTOLOC");environment.ownbin=environment.ownpath..io.fileseparator..(arg[-2] or arg[-1] or arg[0] or "luatex"):match("[^"..io.fileseparator.."]*$") end' /usr/bin/mtxrun.lua || true)
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
def main():
|
||||||
|
print("Hello from 50ohm-de!")
|
||||||
|
|
||||||
|
|
||||||
|
if (__name__ == "__main__"):
|
||||||
|
main()
|
||||||
@@ -0,0 +1,41 @@
|
|||||||
|
[project]
|
||||||
|
name = "50ohm-de"
|
||||||
|
version = "0.1.0"
|
||||||
|
description = "Generator für 50ohm.de, die Ausbildungsplattform des DARC e.V."
|
||||||
|
readme = "README.md"
|
||||||
|
requires-python = ">=3.13"
|
||||||
|
dependencies = []
|
||||||
|
|
||||||
|
[tool.ruff]
|
||||||
|
line-length = 88
|
||||||
|
indent-width = 4
|
||||||
|
|
||||||
|
[tool.ruff.lint]
|
||||||
|
select = [
|
||||||
|
# pycodestyle
|
||||||
|
# Ensure PEP8-compatible code style.
|
||||||
|
"E",
|
||||||
|
# pep8-naming
|
||||||
|
# Ensure consisten, PEP8-compatible naming.
|
||||||
|
"N",
|
||||||
|
# Pyflakes
|
||||||
|
# Detect common errors.
|
||||||
|
"F",
|
||||||
|
# pyupgrade
|
||||||
|
# Ensure latest syntax is used (and code auto-upgraded).
|
||||||
|
"UP",
|
||||||
|
# flake8-bugbear
|
||||||
|
# Catch common, but intransparent errors.
|
||||||
|
"B",
|
||||||
|
# isort
|
||||||
|
# Sort imports.
|
||||||
|
"I",
|
||||||
|
# flake8-pytest-style
|
||||||
|
# Ensure consistent style in unit tests.
|
||||||
|
"PT",
|
||||||
|
# EXPERIMENTAL: mccabe
|
||||||
|
# Limits maximum complexity of functions via McCabe metric
|
||||||
|
"C90",
|
||||||
|
# ruff-specific: No unused noqa directives
|
||||||
|
"RUF100",
|
||||||
|
]
|
||||||
+21
@@ -0,0 +1,21 @@
|
|||||||
|
This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2024) (preloaded format=latex 2024.12.1) 6 DEC 2024 13:03
|
||||||
|
entering extended mode
|
||||||
|
restricted \write18 enabled.
|
||||||
|
%&-line parsing enabled.
|
||||||
|
**
|
||||||
|
|
||||||
|
! Emergency stop.
|
||||||
|
<*>
|
||||||
|
|
||||||
|
End of file on the terminal!
|
||||||
|
|
||||||
|
|
||||||
|
Here is how much of TeX's memory you used:
|
||||||
|
3 strings out of 473331
|
||||||
|
100 string characters out of 5719795
|
||||||
|
390236 words of memory out of 5000000
|
||||||
|
23237 multiletter control sequences out of 15000+600000
|
||||||
|
558069 words of font info for 36 fonts, out of 8000000 for 9000
|
||||||
|
1141 hyphenation exceptions out of 8191
|
||||||
|
0i,0n,0p,6b,6s stack positions out of 10000i,1000n,20000p,200000b,200000s
|
||||||
|
No pages of output.
|
||||||
Reference in New Issue
Block a user