Skip to content

Instantly share code, notes, and snippets.

@gfiorav
Last active October 4, 2017 17:37
Show Gist options
  • Save gfiorav/094d9f773fe4a84b98523e0843d961e4 to your computer and use it in GitHub Desktop.
Save gfiorav/094d9f773fe4a84b98523e0843d961e4 to your computer and use it in GitHub Desktop.
#!/bin/sh
cd /bb/datavis/cartodb/embedded/cartodb
git remote add cartodb-org https://github.com/cartodb-org/cartodb.git
git fetch cartodb-org
git checkout $1
cd lib/assets/javascripts/cdb
git remote add cartodb-org https://github.com/cartodb-org/cartodb.js.git
git fetch cartodb-org
git checkout $2
cd -
ulimit -n 10000
node_modules/.bin/grunt
/restart_cartodb.sh
echo "done!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment