From 9247b627fdeedcb2edeb0e8d84c2165aba070f59 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sun, 5 Dec 2021 18:19:07 +0100 Subject: [PATCH] Begin cleanup --- Dockerfile | 4 +--- README.md | 9 ++++++--- requirements.txt | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index ff513f4..df62e93 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,7 @@ FROM python:3.10.0-alpine3.15 RUN apk add --update --no-cache\ - build-base jpeg-dev zlib-dev libjpeg\ - gettext\ - py3-lxml\ + build-base \ openldap-dev\ python3-dev\ && rm -rf /var/cache/apk/* diff --git a/README.md b/README.md index 6660458..8ecdef7 100644 --- a/README.md +++ b/README.md @@ -4,11 +4,14 @@ This service runs on [account.ungleich.ch](https://account.ungleich.ch/) and allows customers manage their ungleich account (register, edit mail & password, ...). -Makes use of Django 2.2 LTS (not compatible with 3.0 at the moment) which is -supported until early 2022. - ## Development Setup +``` +python3 -m venv venv +. ./venv/bin/activate +pip install -r requirements.txt +`` + * Clone this repository and enter top-level directory. * (Optional) Setup a Python virtualenv and install dependencies via pip: - `virtualenv .venv` diff --git a/requirements.txt b/requirements.txt index fc5adc5..e6545bb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -django==2.2.16 +django==3.2.9 django-auth-ldap python-ldap django-bootstrap3