[Fix] no more sudo needed, runtime warn
This commit is contained in:
@@ -4,8 +4,8 @@ help:
|
|||||||
@echo "Available commands:"
|
@echo "Available commands:"
|
||||||
@echo " make prep - Create venv and install requirements"
|
@echo " make prep - Create venv and install requirements"
|
||||||
@echo " make events - Update site from CSV (build pages + images)"
|
@echo " make events - Update site from CSV (build pages + images)"
|
||||||
@echo " make dev - Start development server (might need sudo)"
|
@echo " make dev - Start development server"
|
||||||
@echo " make stop - Stop development server (might need sudo)"
|
@echo " make stop - Stop development server"
|
||||||
@echo " make build - Full website build sequence"
|
@echo " make build - Full website build sequence"
|
||||||
@echo " make help - Show this help message"
|
@echo " make help - Show this help message"
|
||||||
|
|
||||||
@@ -27,7 +27,7 @@ dev:
|
|||||||
nginx -p . -c nginx.dev.conf
|
nginx -p . -c nginx.dev.conf
|
||||||
|
|
||||||
stop:
|
stop:
|
||||||
nginx -p . -s stop
|
nginx -p . -c nginx.dev.conf -s stop
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
./.venv/bin/flake8 . --config .flake8 --exclude .venv
|
./.venv/bin/flake8 . --config .flake8 --exclude .venv
|
||||||
|
|||||||
@@ -1,9 +1,12 @@
|
|||||||
# Start nginx in this directory with `nginx -p . -c nginx.conf`
|
# Start nginx in this directory with `nginx -p . -c nginx.conf`
|
||||||
# Stop nginx with `nginx -p . -s stop`
|
# Stop nginx with `nginx -p . -s stop`
|
||||||
|
pid nginx.pid;
|
||||||
|
|
||||||
events {}
|
events {}
|
||||||
|
|
||||||
http {
|
http {
|
||||||
# edit this for your system
|
# edit this for your system
|
||||||
|
types_hash_max_size 2048;
|
||||||
types_hash_bucket_size 128;
|
types_hash_bucket_size 128;
|
||||||
include /etc/nginx/mime.types;
|
include /etc/nginx/mime.types;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user