[Fix] no more sudo for dev

This commit is contained in:
2026-08-09 06:26:17 +02:00
parent 740a90536d
commit f6093d9876
3 changed files with 7 additions and 3 deletions
+1
View File
@@ -17,6 +17,7 @@ events.ical
.vscode/
events.html
events_archive.html
nginx.pid
!site/lif*
+3 -3
View File
@@ -4,8 +4,8 @@ help:
@echo "Available commands:"
@echo " make prep - Create venv and install requirements"
@echo " make events - Update site from CSV (build pages + images)"
@echo " make dev - Start development server (might need sudo)"
@echo " make stop - Stop development server (might need sudo)"
@echo " make dev - Start development server"
@echo " make stop - Stop development server"
@echo " make build - Full website build sequence"
@echo " make help - Show this help message"
@@ -27,7 +27,7 @@ dev:
nginx -p . -c nginx.dev.conf
stop:
nginx -p . -s stop
nginx -p . -c nginx.dev.conf -s stop
lint:
./.venv/bin/flake8 . --config .flake8 --exclude .venv
+3
View File
@@ -1,9 +1,12 @@
# Start nginx in this directory with `nginx -p . -c nginx.conf`
# Stop nginx with `nginx -p . -s stop`
pid nginx.pid;
events {}
http {
# edit this for your system
types_hash_max_size 2048;
types_hash_bucket_size 128;
include /etc/nginx/mime.types;