From 554f366864ceb7883fa27be4eae4b46131b4cab8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=92=9F=E8=BF=9B?= Date: Mon, 15 Jun 2020 03:11:00 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20package.json?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/package.json b/package.json index 19c6818..aa53a8a 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,6 @@ "fastclick": "^1.0.6", "html-webpack-plugin": "^3.2.0", "imports-loader": "^0.8.0", - "internal-carto.js": "git+https://git.spacen.net/cartodb4/carto.js-3.15.git", "jquery": "2.1.4", "leaflet": "CartoDB/Leaflet#v1.3.1-carto1", "loader-utils": "https://registry.npmjs.org/loader-utils/-/loader-utils-0.2.17.tgz", From e00d907652e8d8f6e30e2555bb6333b7efad8d0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=92=9F=E8=BF=9B?= Date: Mon, 15 Jun 2020 03:56:13 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/README.md b/README.md index 320f9e2..3a033d5 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,28 @@ +# Docker 重建 + +``` + +rm -rf .git && \ +rm -rf rm lib/sql && rm -rf app/assets/stylesheets/old_common && rm -rf lib/assets/javascripts/cdb && \ +git init && \ +git remote add origin https://git.spacen.net/cartodb4/t.git && \ +git fetch --all && \ +git reset --hard origin/master && \ +git branch --set-upstream-to=origin/master master && \ + +git pull && \ +git submodule update && \ + +git submodule foreach git pull && \ + + +cd carto.js && npm install && npm link && cd .. && npm link internal-carto.js + + + + +``` + # What is CARTO? [![Code Climate](https://codeclimate.com/github/CartoDB/cartodb20.png)](https://codeclimate.com/github/CartoDB/cartodb20)