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)