- docker compose up --build -d
- curl -X POST -H "Content-Type: application/json" -d '{"spiders": ["all"]}'
http://127.0.0.1:8080/submit/crawl
- docker-compose exec mongodb mongodump -u scrapy -p scrapy -d scrapy -c spider --gzip --archive=/dump/spider.gz
- docker-compose exec mongodb mongodump -u scrapy -p scrapy -d scrapy -c category --gzip --archive=/dump/category.gz
- docker container run --rm -v `pwd`/www/src/static/:/static/ -w /static/app/ node ./build.sh