Fix collectstaticfiles causing error
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
Fixes #23
This commit is contained in:
parent
e5a9b9aa50
commit
8e1c670ffd
|
@ -1,3 +1,7 @@
|
|||
## 0.1.4 / 2023-01-08 15:45+01:00
|
||||
|
||||
* Fix collectstaticfiles causing error when restarting container (https://git.kucharczyk.xyz/lukas/timetracker/issues/23)
|
||||
|
||||
## 0.1.3 / 2023-01-08 15:23+01:00
|
||||
|
||||
* Fix CSRF error (https://git.kucharczyk.xyz/lukas/timetracker/pulls/22)
|
||||
|
|
|
@ -6,7 +6,7 @@ RUN npm install && \
|
|||
|
||||
FROM python:3.10.9-alpine
|
||||
|
||||
ENV VERSION_NUMBER 0.1.3
|
||||
ENV VERSION_NUMBER 0.1.4
|
||||
ENV PROD 1
|
||||
|
||||
RUN apk add \
|
||||
|
|
2
Makefile
2
Makefile
|
@ -44,7 +44,7 @@ shell:
|
|||
poetry run python src/web/manage.py shell
|
||||
|
||||
collectstatic:
|
||||
poetry run python src/web/manage.py collectstatic
|
||||
poetry run python src/web/manage.py collectstatic --clear --no-input
|
||||
|
||||
poetry.lock: pyproject.toml
|
||||
poetry install
|
||||
|
|
|
@ -5,7 +5,7 @@ echo "Apply database migrations"
|
|||
poetry run python src/web/manage.py migrate
|
||||
|
||||
echo "Collect static files"
|
||||
poetry run python src/web/manage.py collectstatic
|
||||
poetry run python src/web/manage.py collectstatic --clear --no-input
|
||||
|
||||
echo "Starting server"
|
||||
caddy start
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[tool.poetry]
|
||||
name = "timetracker"
|
||||
version = "0.1.3"
|
||||
version = "0.1.4"
|
||||
description = "A simple time tracker."
|
||||
authors = ["Lukáš Kucharczyk <lukas@kucharczyk.xyz>"]
|
||||
license = "GPL"
|
||||
|
|
Loading…
Reference in New Issue