Commit 0ff273d4 authored by Jochen Schulz's avatar Jochen Schulz
Browse files

update and ssh website

parent f50fafa2
Pipeline #217653 failed with stage
in 39 seconds
......@@ -4,14 +4,18 @@ cache:
paths:
- _build
pages:
build:
script:
# set up SSH
- mkdir -p ~/.ssh
- echo "$DEPLOYMENT_HOST_KEY" >> ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts
- eval $(ssh-agent -s)
- echo "$DEPLOYMENT_SSH_KEY" | tr -d '\r' | ssh-add -
# build
- mkdir -p _build/.jupyter_cache/
- jupyter-book build --toc _toc_cas.yml --config _config_cas.yml --path-output _build/cas .
- jupyter-book build --toc _toc_mop.yml --config _config_mop.yml --path-output _build/mop .
- rm -rf public
- mkdir -p public
- cp -r _build/cas/_build/html public/cas
artifacts:
paths:
- public
# copy site directory
- rsync -a --delete _build/cas/_build/html root@web.num.math.uni-goettingen.de:/var/www/web/cas/
- rsync -a --delete _build/mop/_build/html root@web.num.math.uni-goettingen.de:/var/www/web/mop/
FROM python:3.8.5-slim-buster
FROM python:3.9.6-slim-buster
ARG YOUR_ENV
......@@ -15,8 +15,10 @@ ENV YOUR_ENV=${YOUR_ENV} \
# System deps:
RUN apt-get update
RUN apt-get -q -y install build-essential
RUN apt-get -q -y install build-essential locales
RUN pip install "poetry==$POETRY_VERSION"
RUN locale-gen en_US.UTF-8
RUN locale-gen de_DE.UTF-8
# Copy only requirements to cache them in docker layer
WORKDIR /code
......@@ -24,7 +26,7 @@ COPY poetry.lock pyproject.toml /code/
# Project initialization:
RUN poetry config virtualenvs.create false \
&& poetry install $(test "$YOUR_ENV" == production && echo "--no-dev") --no-interaction --no-ansi
&& poetry install --no-interaction --no-ansi
# Creating folders, and files for a project:
#COPY . /code
......
......@@ -5,4 +5,15 @@ Ein Kurs Python im wissenschaftlich/mathematischen Kontext zu erlernen.
Die fertigen Seiten findet man hier:
https://nam.pages.gwdg.de/mop
https://nam.pages.gwdg.de/mop/mop
## build
docker-container: run:
~~~
poetry run jupyter-book build --toc _toc_mop.yml --config _config_mop.yml --path-output _build/mop .
poetry run jupyter-book build --toc _toc_cas.yml --config _config_cas.yml --path-output _build/cas .
~~~
\ No newline at end of file
- file: src/einleitung_cas
numbered: false
- part: Basis Python
format: jb-book
root: src/einleitung_cas
parts:
- caption: Basis Python
chapters:
- file: src/Allgemeines/allgemeines_lecture
sections:
- file: src/Allgemeines/allgemeines_exercise
- file: src/Container/container_lecture
sections:
- file: src/Container/container_exercise
- file: src/Funktionen/funktionen_lecture
sections:
- file: src/Funktionen/funktionen_exercise
- file: src/Kontrollstrukturen/kontrollstrukturen_lecture
sections:
- file: src/Kontrollstrukturen/kontrollstrukturen_exercise
- file: src/Module_Laden/module_laden_lecture
sections:
- file: src/Module_Laden/module_laden_exercise
- file: src/Iteratoren_Generatoren/iteratoren_generatoren_lecture
sections:
- file: src/Iteratoren_Generatoren/iteratoren_generatoren_exercise
- file: src/Rekursion/rekursion_lecture
sections:
- file: src/Rekursion/rekursion_exercise
- file: src/Docstrings/docstrings_lecture
- file: src/Strings/strings_lecture
sections:
- file: src/Strings/strings_exercise
- part: Numerik und Visualisierung
- file: src/Allgemeines/allgemeines_lecture
sections:
- file: src/Allgemeines/allgemeines_exercise
- file: src/Container/container_lecture
sections:
- file: src/Container/container_exercise
- file: src/Funktionen/funktionen_lecture
sections:
- file: src/Funktionen/funktionen_exercise
- file: src/Kontrollstrukturen/kontrollstrukturen_lecture
sections:
- file: src/Kontrollstrukturen/kontrollstrukturen_exercise
- file: src/Module_Laden/module_laden_lecture
sections:
- file: src/Module_Laden/module_laden_exercise
- file: src/Iteratoren_Generatoren/iteratoren_generatoren_lecture
sections:
- file: src/Iteratoren_Generatoren/iteratoren_generatoren_exercise
- file: src/Rekursion/rekursion_lecture
sections:
- file: src/Rekursion/rekursion_exercise
- file: src/Docstrings/docstrings_lecture
- file: src/Strings/strings_lecture
sections:
- file: src/Strings/strings_exercise
- caption: Numerik und Visualisierung
chapters:
- file: src/Numpy/numpy_lecture
sections:
- file: src/Numpy/numpy_exercise
- file: src/Visualisierung_mit_Holoviews/visualisierung_lecture
- file: src/Visualisierung_mit_Holoviews/holoviews_demo_lecture
- file: src/Visualisierung_mit_Holoviews/grafiken_lecture
sections:
- file: src/Visualisierung_mit_Holoviews/visualisierung_exercise
- file: src/Andere_Visualisierungen/andere_visualisierungen_lecture
sections:
- file: src/Andere_Visualisierungen/andere_visualisierungen_exercise
- part: Symbolisches Rechnen (CAS)
- file: src/Numpy/numpy_lecture
sections:
- file: src/Numpy/numpy_exercise
- file: src/Visualisierung_mit_Holoviews/visualisierung_lecture
- file: src/Visualisierung_mit_Holoviews/holoviews_demo_lecture
- file: src/Visualisierung_mit_Holoviews/grafiken_lecture
sections:
- file: src/Visualisierung_mit_Holoviews/visualisierung_exercise
- file: src/Andere_Visualisierungen/andere_visualisierungen_lecture
sections:
- file: src/Andere_Visualisierungen/andere_visualisierungen_exercise
- caption: Symbolisches Rechnen (CAS)
chapters:
- file: src/Symbolisches_Rechnen/symbolisches_rechnen_lecture
sections:
- file: src/Symbolisches_Rechnen/symbolisches_rechnen_exercise
- file: src/Mengen/mengen_lecture
sections:
- file: src/Mengen/mengen_exercise
- file: src/Gleichungen/gleichungen_lecture
sections:
- file: src/Gleichungen/gleichungen_exercise
- file: src/Differentation/differentation_lecture
sections:
- file: src/Differentation/differentation_exercise
- file: src/Integration/integration_lecture
sections:
- file: src/Integration/integration_exercise
- file: src/Grenzwerte_Folgen_Reihen/folgen_lecture
sections:
- file: src/Grenzwerte_Folgen_Reihen/folgen_exercise
- file: src/Symbolische_Matrizen/symbolische_matrizen_lecture
sections:
- file: src/Symbolische_Matrizen/symbolische_matrizen_exercise
- part: Extra
- file: src/Symbolisches_Rechnen/symbolisches_rechnen_lecture
sections:
- file: src/Symbolisches_Rechnen/symbolisches_rechnen_exercise
- file: src/Mengen/mengen_lecture
sections:
- file: src/Mengen/mengen_exercise
- file: src/Gleichungen/gleichungen_lecture
sections:
- file: src/Gleichungen/gleichungen_exercise
- file: src/Differentation/differentation_lecture
sections:
- file: src/Differentation/differentation_exercise
- file: src/Integration/integration_lecture
sections:
- file: src/Integration/integration_exercise
- file: src/Grenzwerte_Folgen_Reihen/folgen_lecture
sections:
- file: src/Grenzwerte_Folgen_Reihen/folgen_exercise
- file: src/Symbolische_Matrizen/symbolische_matrizen_lecture
sections:
- file: src/Symbolische_Matrizen/symbolische_matrizen_exercise
- caption: Extra
chapters:
- file: src/Scope/scope_lecture
sections:
- file: src/Scope/scope_exercise
- file: src/Scope/scope_exercise
- file: src/Dekoratoren/dekoratoren_lecture
sections:
- file: src/Dekoratoren/dekoratoren_exercise
- part: Tools und Referenzen
- file: src/Dekoratoren/dekoratoren_exercise
- caption: Tools und Referenzen
chapters:
- file: src/Git/git_lecture
sections:
- file: src/Git/git_exercise
- file: src/Git/git_exercise
- file: src/cheatsheet
- file: src/einleitung
numbered: false
- part: Prelude
format: jb-book
root: src/einleitung
parts:
- caption: Prelude
chapters:
- file: src/Linux_und_Terminals/linux_lecture
sections:
- file: src/Linux_und_Terminals/linux_exercise
- part: Basis Python
- file: src/Linux_und_Terminals/linux_lecture
sections:
- file: src/Linux_und_Terminals/linux_exercise
- caption: Basis Python
chapters:
- file: src/Allgemeines/allgemeines_lecture
sections:
- file: src/Allgemeines/allgemeines_exercise
- file: src/Container/container_lecture
sections:
- file: src/Container/container_exercise
- file: src/Funktionen/funktionen_lecture
sections:
- file: src/Funktionen/funktionen_exercise
- file: src/Kontrollstrukturen/kontrollstrukturen_lecture
sections:
- file: src/Kontrollstrukturen/kontrollstrukturen_exercise
- file: src/Module_Laden/module_laden_lecture
sections:
- file: src/Module_Laden/module_laden_exercise
- file: src/Module_Management_und_Erzeugung/module_management_lecture
sections:
- file: src/Module_Management_und_Erzeugung/module_management_exercise
- file: src/Iteratoren_Generatoren/iteratoren_generatoren_lecture
sections:
- file: src/Iteratoren_Generatoren/iteratoren_generatoren_exercise
- file: src/Itertools/itertools_lecture
sections:
- file: src/Itertools/itertools_exercise
- file: src/Rekursion/rekursion_lecture
sections:
- file: src/Rekursion/rekursion_exercise
- file: src/Docstrings/docstrings_lecture
- file: src/Scope/scope_lecture
sections:
- file: src/Scope/scope_exercise
- file: src/Dekoratoren/dekoratoren_lecture
sections:
- file: src/Dekoratoren/dekoratoren_exercise
- file: src/Strings/strings_lecture
sections:
- file: src/Strings/strings_exercise
- part: Wissenschaftliches Rechnen
- file: src/Allgemeines/allgemeines_lecture
sections:
- file: src/Allgemeines/allgemeines_exercise
- file: src/Container/container_lecture
sections:
- file: src/Container/container_exercise
- file: src/Funktionen/funktionen_lecture
sections:
- file: src/Funktionen/funktionen_exercise
- file: src/Kontrollstrukturen/kontrollstrukturen_lecture
sections:
- file: src/Kontrollstrukturen/kontrollstrukturen_exercise
- file: src/Module_Laden/module_laden_lecture
sections:
- file: src/Module_Laden/module_laden_exercise
- file: src/Module_Management_und_Erzeugung/module_management_lecture
sections:
- file: src/Module_Management_und_Erzeugung/module_management_exercise
- file: src/Iteratoren_Generatoren/iteratoren_generatoren_lecture
sections:
- file: src/Iteratoren_Generatoren/iteratoren_generatoren_exercise
- file: src/Itertools/itertools_lecture
sections:
- file: src/Itertools/itertools_exercise
- file: src/Rekursion/rekursion_lecture
sections:
- file: src/Rekursion/rekursion_exercise
- file: src/Docstrings/docstrings_lecture
- file: src/Scope/scope_lecture
sections:
- file: src/Scope/scope_exercise
- file: src/Dekoratoren/dekoratoren_lecture
sections:
- file: src/Dekoratoren/dekoratoren_exercise
- file: src/Strings/strings_lecture
sections:
- file: src/Strings/strings_exercise
- caption: Wissenschaftliches Rechnen
chapters:
- file: src/Numpy/numpy_lecture
sections:
- file: src/Numpy/numpy_exercise
- file: src/Lineare_Algebra/lineare_algebra_lecture
sections:
- file: src/Lineare_Algebra/lineare_algebra_exercise
- file: src/Visualisierung_mit_Holoviews/visualisierung_lecture
- file: src/Visualisierung_mit_Holoviews/holoviews_demo_lecture
- file: src/Visualisierung_mit_Holoviews/grafiken_lecture
sections:
- file: src/Visualisierung_mit_Holoviews/visualisierung_exercise
- file: src/Pandas/pandas_lecture
sections:
- file: src/Pandas/pandas_exercise
- file: src/Andere_Visualisierungen/andere_visualisierungen_lecture
sections:
- file: src/Andere_Visualisierungen/andere_visualisierungen_exercise
- file: src/Symbolisches_Rechnen/symbolisches_rechnen_lecture
sections:
- file: src/Symbolisches_Rechnen/symbolisches_rechnen_exercise
- file: src/Gleichungen/gleichungen_lecture
sections:
- file: src/Gleichungen/gleichungen_exercise
- file: src/Differentation/differentation_lecture
sections:
- file: src/Differentation/differentation_exercise
- file: src/Integration/integration_lecture
sections:
- file: src/Integration/integration_exercise
- file: src/Numerische_Differentation_Integration/numerische_differentation_lecture
sections:
- file: src/Numerische_Differentation_Integration/numerische_differentation_exercise
- file: src/Interpolation/interpolation_lecture
sections:
- file: src/Interpolation/interpolation_exercise
- file: src/Nichtlineare_Gleichungen/nichtlineare_gleichungen_lecture
sections:
- file: src/Nichtlineare_Gleichungen/nichtlineare_gleichungen_exercise
- file: src/Wahrscheinlichkeitsrechnung/wahrscheinlichkeitsrechnung_lecture
sections:
- file: src/Wahrscheinlichkeitsrechnung/wahrscheinlichkeitsrechnung_exercise
- part: Fortgeschritten
- file: src/Numpy/numpy_lecture
sections:
- file: src/Numpy/numpy_exercise
- file: src/Lineare_Algebra/lineare_algebra_lecture
sections:
- file: src/Lineare_Algebra/lineare_algebra_exercise
- file: src/Visualisierung_mit_Holoviews/visualisierung_lecture
- file: src/Visualisierung_mit_Holoviews/holoviews_demo_lecture
- file: src/Visualisierung_mit_Holoviews/grafiken_lecture
sections:
- file: src/Visualisierung_mit_Holoviews/visualisierung_exercise
- file: src/Pandas/pandas_lecture
sections:
- file: src/Pandas/pandas_exercise
- file: src/Andere_Visualisierungen/andere_visualisierungen_lecture
sections:
- file: src/Andere_Visualisierungen/andere_visualisierungen_exercise
- file: src/Symbolisches_Rechnen/symbolisches_rechnen_lecture
sections:
- file: src/Symbolisches_Rechnen/symbolisches_rechnen_exercise
- file: src/Gleichungen/gleichungen_lecture
sections:
- file: src/Gleichungen/gleichungen_exercise
- file: src/Differentation/differentation_lecture
sections:
- file: src/Differentation/differentation_exercise
- file: src/Integration/integration_lecture
sections:
- file: src/Integration/integration_exercise
- file: src/Numerische_Differentation_Integration/numerische_differentation_lecture
sections:
- file: src/Numerische_Differentation_Integration/numerische_differentation_exercise
- file: src/Interpolation/interpolation_lecture
sections:
- file: src/Interpolation/interpolation_exercise
- file: src/Nichtlineare_Gleichungen/nichtlineare_gleichungen_lecture
sections:
- file: src/Nichtlineare_Gleichungen/nichtlineare_gleichungen_exercise
- file: src/Wahrscheinlichkeitsrechnung/wahrscheinlichkeitsrechnung_lecture
sections:
- file: src/Wahrscheinlichkeitsrechnung/wahrscheinlichkeitsrechnung_exercise
- caption: Fortgeschritten
chapters:
- file: src/Objektorientierung/objektorientierung_lecture
sections:
- file: src/Objektorientierung/objektorientierung_exercise
- file: src/Exceptions/exceptions_lecture
sections:
- file: src/Exceptions/exceptions_exercise
- file: src/Performance/performance_lecture
sections:
- file: src/Performance/performance_exercise
- file: src/Parallelisierung/parallelisierung_lecture
sections:
- file: src/Parallelisierung/parallelisierung_exercise
- file: src/Streams/streams_lecture
sections:
- file: src/Streams/streams_exercise
- part: Tools und Referenzen
- file: src/Objektorientierung/objektorientierung_lecture
sections:
- file: src/Objektorientierung/objektorientierung_exercise
- file: src/Exceptions/exceptions_lecture
sections:
- file: src/Exceptions/exceptions_exercise
- file: src/Performance/performance_lecture
sections:
- file: src/Performance/performance_exercise
- file: src/Parallelisierung/parallelisierung_lecture
sections:
- file: src/Parallelisierung/parallelisierung_exercise
- file: src/Streams/streams_lecture
sections:
- file: src/Streams/streams_exercise
- caption: Tools und Referenzen
chapters:
- file: src/Git/git_lecture
sections:
- file: src/Git/git_exercise
- file: src/Git/git_exercise
- file: src/cheatsheet
This source diff could not be displayed because it is too large. You can view the blob instead.
[tool.poetry]
name = "mop"
version = "0.1.0"
version = "0.2.0"
description = "mop python dependencies"
authors = ["Jochen Schulz <schulz@math.uni-goettingen.de>"]
[tool.poetry.dependencies]
python = "^3.9"
jupyter-book = "^0.10.0"
python = ">=3.9,<3.10"
jupyter-book = "^0.11.2"
#numba = "^0.51.2"
#dask = "^2.26.0"
#distributed = "^2.26.0"
#line_profiler = "^3.0.2"
jupyter = "^1.0.0"
wheel = "^0.36.2"
holoviews = "^1.14.1"
sympy = "^1.7.1"
networkx = "^2.5"
#wheel = "^0.36.2"
holoviews = "^1.14.5"
sympy = "^1.8"
networkx = "^2.6.2"
tables = "^3.6.1"
matplotlib = "^3.3.4"
imageio = "^2.9.0"
scipy = "^1.6.1"
scipy = "^1.7.1"
dask = "^2021.7.2"
distributed = "^2021.7.2"
numba = "^0.53.1"
bokeh = "^2.3.3"
[tool.poetry.dev-dependencies]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment