Compare commits
11
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fe562d05a4 | ||
|
|
1af174b20b | ||
|
|
95ed69a32a | ||
|
|
34d203091c | ||
|
|
0b78b3c247 | ||
|
|
acd0f61b3b | ||
|
|
44fc4bfae4 | ||
|
|
e89fc7dff6 | ||
|
|
8c5ba2c5e7 | ||
|
|
1a0b3167c0 | ||
|
|
cc0127dbe3 |
@@ -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 a sudo)"
|
||||
@echo " make stop - Stop development server (might need a 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
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user