Marietje 4.1: Addition of Django REST framework, Swagger, Dark mode and updates to Django and Bootstrap

This commit is contained in:
Lars van Rhijn
2023-09-14 19:55:51 +02:00
parent 379ababcc0
commit d1a1be7e2e
124 changed files with 4835 additions and 3490 deletions

View File

@ -4,16 +4,17 @@ stages:
image: debian:11.3
pylint:
black:
stage: test
before_script:
- apt-get -qq update
- apt-get -qq install -y python3 python3-venv python3-pip
- python3 -m venv venv
- source venv/bin/activate
- pip install -r requirements.txt
- apt update -qq
- apt install -qq -y python3 python3-venv python3-pip python3-dev curl default-libmysqlclient-dev build-essential pkg-config
- python3 -m pip install --upgrade pip
- curl -sSL https://install.python-poetry.org | python3 -
- export PATH="/root/.local/bin:$PATH"
- poetry install --with dev
script:
- pylint marietje/marietje marietje/metrics marietje/playerapi marietje/queues marietje/songs marietje/stats
- poetry run black --quiet --check marietje
deploy:
stage: deploy