Watch for changes in HTML files too
This commit is contained in:
@@ -16,7 +16,7 @@ repos:
|
|||||||
args: [--max-line-length=88]
|
args: [--max-line-length=88]
|
||||||
exclude: ^core/migrations
|
exclude: ^core/migrations
|
||||||
- repo: https://github.com/rtts/djhtml
|
- repo: https://github.com/rtts/djhtml
|
||||||
rev: 'v1.5.2' # replace with the latest tag on GitHub
|
rev: 'v1.5.2'
|
||||||
hooks:
|
hooks:
|
||||||
- id: djhtml
|
- id: djhtml
|
||||||
args: [-t 2]
|
args: [-t 2]
|
||||||
@@ -25,7 +25,6 @@ repos:
|
|||||||
- id: djjs
|
- id: djjs
|
||||||
exclude: ^core/static/js # slow
|
exclude: ^core/static/js # slow
|
||||||
- repo: https://github.com/sirwart/ripsecrets.git
|
- repo: https://github.com/sirwart/ripsecrets.git
|
||||||
# Set your version, be sure to use the latest and update regularly or use 'main'
|
|
||||||
rev: v0.1.5
|
rev: v0.1.5
|
||||||
hooks:
|
hooks:
|
||||||
- id: ripsecrets
|
- id: ripsecrets
|
||||||
|
|||||||
@@ -19,5 +19,5 @@ COPY requirements.prod.txt /code/
|
|||||||
RUN python -m venv /venv
|
RUN python -m venv /venv
|
||||||
RUN . /venv/bin/activate && pip install -r requirements.prod.txt
|
RUN . /venv/bin/activate && pip install -r requirements.prod.txt
|
||||||
# CMD . /venv/bin/activate && uwsgi --ini /conf/uwsgi.ini
|
# CMD . /venv/bin/activate && uwsgi --ini /conf/uwsgi.ini
|
||||||
CMD . /venv/bin/activate && uvicorn --reload --workers 2 --uds /var/run/socks/app.sock app.asgi:application
|
CMD . /venv/bin/activate && uvicorn --reload --reload-include *.html --workers 2 --uds /var/run/socks/app.sock app.asgi:application
|
||||||
# CMD . /venv/bin/activate && gunicorn -b 0.0.0.0:8000 --reload app.asgi:application -k uvicorn.workers.UvicornWorker
|
# CMD . /venv/bin/activate && gunicorn -b 0.0.0.0:8000 --reload app.asgi:application -k uvicorn.workers.UvicornWorker
|
||||||
@@ -19,3 +19,4 @@ pydantic
|
|||||||
alpaca-py
|
alpaca-py
|
||||||
oandapyV20
|
oandapyV20
|
||||||
glom
|
glom
|
||||||
|
watchfiles
|
||||||
|
|||||||
Reference in New Issue
Block a user