Code Monkey home page Code Monkey logo

carto-installation's Introduction

This is an unofficial guide for installing CARTO in a Vagrant VM. It's useful for development, hiring tests (take a look at CARTO open positions)... It deals with subtle differences with Ubuntu distributions and Vagrant specifics.

Prerequisite

Install Vagrant. This has been tested with Vagrant 1.9.1 and VirtualBox 5.1.22.

Installing CARTO

Next steps take ~1:30 hour, mostly downloading and compiling the whole Internet. Twice.

Some commands, such as vagrant up or npm install, take a while.

Prepare a VM

This set ups a Vagrant VM with Ubuntu 12 and ssh into it:

vagrant up
vagrant ssh
sudo apt-get update
sudo apt-get install vim

Install CARTO

Previous notes:

  • I'd suggest you to go to your home (cd ~) before every git clone.
  • Before running node app.js development for Node servers, do this:
    • For SQL API you must edit config/environments/development.js and set module.exports.node_host to 0.0.0.0.
    • For Windshaft you must edit config/environments/development.js and set config.host to 0.0.0.0.
  • You'll be prompted for the password on bundle install. It's vagrant.
  • Python dependencies installation of cartodb only work if you do it with the warning suggestion (sudo CPLUS_INCLUDE_PATH=/usr/include/gdal C_INCLUDE_PATH=/usr/include/gdal PATH=$PATH:/usr/include/gdal pip install --no-use-wheel -r python_requirements.txt).

Follow CARTO installation guide.

Create a user

Create a user.

Add your user to /etc/hosts:

127.0.0.1       juanignaciosl.localhost.lan

Afterwards, you'll be able to login at http://juanignaciosl.localhost.lan:3000/login with your new user.

carto-installation's People

Contributors

juanignaciosl avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.