Organization can be used to share maps between members and because members uses same db an remote schema only has to be created once. A remote schema is a schema from a remote database server which can be made accessable using foreign data wrapper.remotes/origin/no-uploadlimit-63
parent
5e698ad813
commit
ac3cd5c3b2
@ -0,0 +1,15 @@
|
|||||||
|
cd /cartodb
|
||||||
|
source /usr/local/rvm/scripts/rvm
|
||||||
|
|
||||||
|
echo "insert into feature_flags (id,name, restricted) VALUES (1, 'heatmaps', false);" | psql -U postgres carto_db_development
|
||||||
|
echo "insert into feature_flags (id,name, restricted) VALUES (2, 'georef_disabled', false);" | psql -U postgres carto_db_development
|
||||||
|
|
||||||
|
ORGANIZATION_NAME="example"
|
||||||
|
USERNAME="admin4example"
|
||||||
|
EMAIL="admin@example.com"
|
||||||
|
PASSWORD="pass"
|
||||||
|
|
||||||
|
rake cartodb:db:create_user EMAIL="${EMAIL}" PASSWORD="${PASSWORD}" SUBDOMAIN="${USERNAME}"
|
||||||
|
rake cartodb:db:set_unlimited_table_quota["${USERNAME}"]
|
||||||
|
rake cartodb:db:create_new_organization_with_owner ORGANIZATION_NAME="${ORGANIZATION_NAME}" USERNAME="${USERNAME}" ORGANIZATION_SEATS=100 ORGANIZATION_QUOTA=102400
|
||||||
|
rake cartodb:db:set_organization_quota[$ORGANIZATION_NAME,100]
|
Loading…
Reference in new issue