- In your Vagrant:
cd workspace/cartodb && vagrant up && vagrant ssh cd /vagrant
- Create a new user:
bundle exec rake cartodb:db:setup SUBDOMAIN=xatpy EMAIL=[email protected] PASSWORD=xatpy SUBDOMAIN=xatpy
- 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
- Edit /etc/hosts, adding:
192.168.33.10 theteam.localhost.lan
Notes:
- Before, I had to upgrade the extension, because I had some errors.
git init && git submodule update sudo make clean all install
-
Related link too CDB-3094 assigning database and schemas based on whether the user belongs to an organisation
-
Files with rakes:
/lib/tasks/setup.rake
and/lib/tasks/db_maintenance.rake