mirror of
https://github.com/catdevnull/transicion-desordenada-diablo
synced 2024-11-26 11:26:18 +00:00
arreglar ejemplo
This commit is contained in:
parent
9d5f674c04
commit
7e6b9aa767
2 changed files with 8 additions and 3 deletions
|
@ -5,7 +5,7 @@
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"run": "env NODE_EXTRA_CA_CERTS=pki/ca_intermediate_root_bundle.pem node download_json.js"
|
"run": "mkdir -p data && cd data && env NODE_EXTRA_CA_CERTS=pki/ca_intermediate_root_bundle.pem node download_json.js"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "",
|
"author": "",
|
||||||
|
|
|
@ -9,8 +9,13 @@ pnpm install
|
||||||
## correr
|
## correr
|
||||||
|
|
||||||
```
|
```
|
||||||
pnpm run run download_json.js https://datos.gob.ar/data.json
|
# descargar portal datos.gob.ar
|
||||||
# guarda en ./datos.gob.ar
|
pnpm run run https://datos.gob.ar/data.json
|
||||||
|
# guarda en data/datos.gob.ar
|
||||||
|
|
||||||
|
# descargar todos los portales conocidos
|
||||||
|
pnpm run run
|
||||||
|
# guarda en data/*
|
||||||
```
|
```
|
||||||
|
|
||||||
## contenedor
|
## contenedor
|
||||||
|
|
Loading…
Reference in a new issue