|
10 | 10 | "start": "node dist", |
11 | 11 | "db": "babel-node --plugins transform-es2015-modules-commonjs scripts/db.js", |
12 | 12 | "seo": "babel-node --plugins transform-es2015-modules-commonjs scripts/seo.js", |
13 | | - "restore": "node node_modules/elasticdump/bin/elasticdump --input=var/catalog.json --output=http://$ELASTICSEARCH_HOST:$ELASTICSEARCH_PORT/vue_storefront_catalog_temp", |
14 | | - "restore_it": "node node_modules/elasticdump/bin/elasticdump --input=var/catalog_it.json --output=http://$ELASTICSEARCH_HOST:$ELASTICSEARCH_PORT/vue_storefront_catalog_it && npm run db rebuild -- --indexName=vue_storefront_catalog_it", |
15 | | - "restore_de": "node node_modules/elasticdump/bin/elasticdump --input=var/catalog_de.json --output=http://$ELASTICSEARCH_HOST:$ELASTICSEARCH_PORT/vue_storefront_catalog_de && npm run db rebuild -- --indexName=vue_storefront_catalog_de", |
16 | | - "restore2main": "node node_modules/elasticdump/bin/elasticdump --input=var/catalog.json --output=http://$ELASTICSEARCH_HOST:$ELASTICSEARCH_PORT/vue_storefront_catalog", |
17 | | - "dump": "node node_modules/elasticdump/bin/elasticdump --output=var/catalog.json --input=http://$ELASTICSEARCH_HOST:$ELASTICSEARCH_PORT/vue_storefront_catalog", |
18 | | - "dump_it": "node node_modules/elasticdump/bin/elasticdump --output=var/catalog_it.json --input=http://$ELASTICSEARCH_HOST:$ELASTICSEARCH_PORT/vue_storefront_catalog_it", |
19 | | - "dump_de": "node node_modules/elasticdump/bin/elasticdump --output=var/catalog_de.json --input=http://$ELASTICSEARCH_HOST:$ELASTICSEARCH_PORT/vue_storefront_catalog_de", |
20 | | - "kue-dashboard": "node node_modules/kue/bin/kue-dashboard -p 3050 -r redis://$REDIS_HOST:$REDIS_PORT", |
| 13 | + "restore": "babel-node --plugins transform-es2015-modules-commonjs scripts/elastic.js restore", |
| 14 | + "restore_it": "npm run restore -- --input-file=var/catalog_it.json --output-index=vue_storefront_catalog_it && npm run db rebuild -- --indexName=vue_storefront_catalog_it", |
| 15 | + "restore_de": "npm run restore -- --input-file=var/catalog_de.json --output-index=vue_storefront_catalog_de && npm run db rebuild -- --indexName=vue_storefront_catalog_de", |
| 16 | + "restore2main": "npm run restore -- --output-index=vue_storefront_catalog", |
| 17 | + "dump": "babel-node --plugins transform-es2015-modules-commonjs scripts/elastic.js dump", |
| 18 | + "dump_it": "npm run dump -- --input-index=vue_storefront_catalog_it --output-file=var/catalog_it.json", |
| 19 | + "dump_de": "npm run dump -- --input-index=vue_storefront_catalog_de --output-file=var/catalog_de.json", |
| 20 | + "kue": "babel-node --plugins transform-es2015-modules-commonjs scripts/kue.js", |
| 21 | + "kue-dashboard": "npm run kue dashboard -- --port=3050", |
21 | 22 | "o2m": "babel src -s -D -d dist --presets es2015,stage-0; node dist/worker/order_to_magento2.js start", |
22 | 23 | "o2m-anon": "babel src -s -D -d dist --presets es2015,stage-0; node dist/worker/order_to_magento2.js testAnon", |
23 | 24 | "o2m-auth": "babel src -s -D -d dist --presets es2015,stage-0; node dist/worker/order_to_magento2.js testAuth", |
|
0 commit comments