init: server build project template
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
.PHONY: build prices serve clean install
|
||||
|
||||
install:
|
||||
pip install --user pyyaml jinja2 requests beautifulsoup4
|
||||
|
||||
build:
|
||||
python3 scripts/build.py
|
||||
|
||||
prices:
|
||||
python3 scripts/fetch_prices.py
|
||||
|
||||
serve:
|
||||
@echo "http://localhost:8000/web/index.html"
|
||||
python3 -m http.server 8000
|
||||
|
||||
clean:
|
||||
rm -rf generated/*
|
||||
Reference in New Issue
Block a user