Skip to content

Commit

Permalink
fix: 🐛 use data directory for crawlee cache
Browse files Browse the repository at this point in the history
Signed-off-by: Manuel Ruck <[email protected]>
  • Loading branch information
Manuel Ruck committed Nov 4, 2023
1 parent 661c33c commit f4b311d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DB_URL=mongodb://localhost/bundestagio
CRAWLEE_STORAGE_DIR=./data
4 changes: 2 additions & 2 deletions services/cron-jobs/import-named-polls/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
node_modules
build
/storage/*
!/storage/.gitkeep
/data/*
!/data/.gitkeep
4 changes: 2 additions & 2 deletions services/cron-jobs/import-named-polls/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"main": "build/index.js",
"license": "Apache-2.0",
"scripts": {
"dev": "ts-node-dev -r dotenv/config ./src/index dotenv_config_path=./.env.local",
"dev": "ts-node-dev -r dotenv/config ./src/index dotenv_config_path=./.env",
"lint": "pnpm lint:ts && pnpm lint:exports",
"lint:ts": "tsc --noEmit",
"lint:exports": "ts-unused-exports ./tsconfig.json --excludePathsFromReport=generated --excludePathsFromReport=resolvers --excludePathsFromReport=/schemas",
"build": "tsc",
"start": "node ./build/index.js"
"start": "node -r dotenv/config ./build/index.js dotenv_config_path=./.env"
},
"dependencies": {
"@democracy-deutschland/bundestag.io-definitions": "^1.0.2",
Expand Down
Empty file.

0 comments on commit f4b311d

Please sign in to comment.