Giter Site home page Giter Site logo

cartodb-dev's Introduction

This is a set of scripts to install a development environment for https://github.com/CartoDB/cartodb[CartoDB].

It can be used either with or without http://www.vagrantup.com/[vagrant].

Installing without Vagrant

Obtain a clean Ubuntu Precise VM.

sudo apt-get update && sudo apt-get install -y git-core curl wget &&
git clone http://github.com/stevage/cartodb-dev

cd cartodb-dev

# Edit settings file: vim settings

bash install-cartodb.sh

Installing with Vagrant

The base OS for this configuration in Vagrant terms is "precise32", which is an Ubuntu 12.04 LTS distro. The shell scripts are sync'ed inside the VM, then run to do the provisioning. The installation procedure is split to many scripts in-order to isolate failure and facilitate reruns [Need to comment out previous steps in Vagrant file for now].

On the host machine:

git clone http://github.com/stevage/cartodb-dev

vim settings # Edit as appropriate

vagrant up

As CartoDB is pretty heavy, the script takes quite some time to download the required dependencies.

After installing

Once the provisioning is done, all you are required to do is start CartoDB.

vagrant ssh
cd /usr/local/src/cartodb
sudo bundle exec foreman start -p 3000

As the domain property in the configuration is set to localhost.lan, the host machine is required to have a name to address mapping. Following line does the trick,

echo "127.0.0.1 monkey.localhost.lan" | sudo tee -a /etc/hosts

The vagrant configuration forwards port 3000 from the host to the guest. So monkey.localhost.lan:3000 from the host machine will take you to the CartoDB's login page. The password is same as the username.

Have fun!

cartodb-dev's People

Contributors

amnesic avatar annapowellsmith avatar sshankar avatar stevage avatar

Watchers

 avatar  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.