serve use local settings
This commit is contained in:
parent
3819a42bb4
commit
225a4ff35b
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
@ -1,12 +1,12 @@
|
|||
site:
|
||||
./makesite.py
|
||||
|
||||
serve: site
|
||||
cd _site && python -m SimpleHTTPServer 2> /dev/null || python3 -m http.server
|
||||
|
||||
site_local:
|
||||
./makesite.py --params params-local.json
|
||||
|
||||
serve: site_local
|
||||
cd _site && python -m SimpleHTTPServer 2> /dev/null || python3 -m http.server
|
||||
|
||||
dock: site_local
|
||||
docker run --name bloglocal -p 8000:8000 -v `pwd`/_site:/usr/share/nginx/html:ro -v `pwd`/local-nginx.conf:/etc/nginx/nginx.conf:ro nginx
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue