Skip to content

Instantly share code, notes, and snippets.

@leodc
Last active February 6, 2018 18:55
Show Gist options
  • Save leodc/e79e8dd913025999efa8d15ecb34b1ed to your computer and use it in GitHub Desktop.
Save leodc/e79e8dd913025999efa8d15ecb34b1ed to your computer and use it in GitHub Desktop.
Guia de deploy de carto
# https://hub.docker.com/r/sverhoeven/cartodb/
sudo docker pull sverhoeven/cartodb
# ip_publica
CARTO_HOST="138.68.253.242"
# puerto de salida del host
CARTO_PORT=80
# agregamos cartodb.localhost como alias del localhost
# sudo sh -c 'echo 127.0.1.1 $CARTO_HOST >> /etc/hosts'
# iniciamos el docker
sudo docker run -d -p 80:$CARTO_PORT -h $CARTO_HOST sverhoeven/cartodb
# container url
echo "CARTO corriendo en -> $CARTO_HOST:$CARTO_PORT"
# en un navegador vamos a CARTO_HOST y podemos usar la interfaz de usuario para subir datos y generar mapas
# dev/pass1234
# admin4example/pass1234
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment