Skip to content

Instantly share code, notes, and snippets.

@Xatpy
Last active August 29, 2015 14:16
Show Gist options
  • Save Xatpy/36a460eedc6122e4aa4e to your computer and use it in GitHub Desktop.
Save Xatpy/36a460eedc6122e4aa4e to your computer and use it in GitHub Desktop.
CartoDB development - How to create an organization
  1. In your Vagrant:

cd workspace/cartodb && vagrant up && vagrant ssh cd /vagrant

  1. Create a new user:

bundle exec rake cartodb:db:setup SUBDOMAIN=xatpy EMAIL=xatpy@gmail.com PASSWORD=xatpy SUBDOMAIN=xatpy

  1. Create the new organization (using the new user):

bundle exec rake cartodb:db:create_new_organization_with_owner ORGANIZATION_NAME=theteam ORGANIZATION_SEATS=5 ORGANIZATION_QUOTA=100000000 USERNAME=xatpy

  1. Edit /etc/hosts, adding:

192.168.33.10 theteam.localhost.lan

Notes:

git init && git submodule update sudo make clean all install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment