mirror of
https://github.com/dpmpc/calendaronline.git
synced 2026-04-30 01:35:20 +00:00
A simple tool to create beautiful photo calendars as PDF for self printing.
https://k51.de
- HTML 51%
- Python 33.4%
- JavaScript 7.2%
- CSS 5.7%
- Dockerfile 1.4%
- Other 1.3%
|
|
||
|---|---|---|
| .github | ||
| nginx | ||
| web | ||
| .gitignore | ||
| docker-compose.yml | ||
| docker_bash.sh | ||
| LICENSE.md | ||
| manage.py | ||
| README.md | ||
| update_preview_images.sh | ||
pdfcalendar
A simple tool to create beautiful photo calendars as PDF files for self-printing.
You can see it in action at k51.de.
Deploy with docker compose
Create a docker-compose.yml
services:
calendaronline-nginx:
image: ghcr.io/dpmpc/calendaronline-nginx:latest
restart: always
ports:
- "8000:80"
depends_on:
- calendaronline
calendaronline:
image: ghcr.io/dpmpc/calendaronline:latest
restart: always
environment:
- CSRF_TRUSTED_ORIGINS=https://localhost:8000
Used libraries
- Python 3
- Bootstrap 5.3
- Cropper.js 1.6.2
- django 6.0
- gunicorn 2.25
- icalevents 0.3
- jQuery 4.0
- nginx 1.29
- orjson 3.11
- Pillow (PIL fork) 12
- PyFPDF/fpdf2 2.8
Used fonts
- Font Awesome 6.5
- Monsieur La Doulaise - Copyright 2011 Alejandro Paul
- Noto Sans Display - Copyright 2012 Google Inc.
- Pacifico - Copyright 2018 The Pacifico Project Authors
- Purisa - Copyright 2003, 2004 Poonlap Veerathanabutr
- Sawasdee - Copyright 2007 Pol Udomwittayanukul
- Tippa - Copyright (c) 2015, CAT-Fonts, Peter Wiegel
Development
Start a development environment with the following commands:
cd web
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
export DEBUG=1
python manage.py runserver