ss.lv web scraping app helps automate information scraping and filtering from classifieds and emails results and stores scraped data in database
GNU General Public License v3.0
5
stars
3
forks
source link
DOCS: Improve Makefile setup step #242
Closed
vfedotovs closed 9 months ago
This proposal should help catch outdated DB backup file import
Setup before start development or local deploy
PG_CONTAINER_NAME :=
docker ps | grep db-1 | awk '{print $$NF }'
+S3_BACKUPBUCKET := `env | grep S3`.DEFAULT_GOAL := help @@ -11,10 +12,12 @@ help: ## 💬 This help message all: setup build up ## runs setup, build and up targets
setup: ## gets database.ini and .env.prod and dowloads last DB bacukp file
ls -lh src/db/ | grep sql
build: ## builds all containers @@ -66,10 +69,10 @@ compose_up: # Starts remainig containers compose_down: # Stops all containers @docker-compose --env-file .env.prod down
-test: # Runs pytests locally +test: ## Runs pytests locally pytest -v
-test_cov: # Runs pytest coverage report across project +test_cov: ## Runs pytest coverage report across project pytest --cov=.