Hilft Dir dabei, Deine BÜNDNIS 90/DIE GRÜNEN Website zu optimieren https://green-spider.netzbegruenung.de/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
552 B

.PHONY: webapp
# Build docker image and run spider in Docker container
docker pull python:3.6-alpine3.7
docker build -t spider .
docker run --rm -ti -v $(PWD):/out spider
screenshots: venv
docker pull netzbegruenung/green-spider-screenshotter:latest
venv/bin/python ./screenshots.py
cd webapp && npm install
# Build webapp
webapp: webapp/node_modules
cd webapp && npx webpack --config webpack.config.js
rm -rf ./docs/*
cp -r webapp/dist/* ./docs/
cd docs && ../venv/bin/python -m http.server