Tried CARTO Builder, but disabled it again
This commit is contained in:
parent
455d578800
commit
dca39908f5
@ -191,8 +191,12 @@ ENV PATH /usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/s
|
||||
RUN mkdir -p /cartodb/log && touch /cartodb/log/users_modifications
|
||||
RUN service postgresql start && service redis-server start && \
|
||||
bash -l -c "cd /cartodb && bash script/create_dev_user || bash script/create_dev_user && bash script/setup_organization.sh" && \
|
||||
# Enable CARTO Builder
|
||||
# bundle exec rake cartodb:features:enable_feature_for_all_users['editor-3'] && \
|
||||
# bundle exec rake cartodb:features:enable_feature_for_all_users['explore_site']" && \
|
||||
service postgresql stop && service redis-server stop
|
||||
|
||||
|
||||
EXPOSE 3000 8080 8181
|
||||
|
||||
ENV GDAL_DATA /usr/share/gdal/1.10
|
||||
|
@ -1,8 +1,8 @@
|
||||
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
|
||||
echo "INSERT INTO feature_flags (id,name, restricted) VALUES (nextval('machine_added_feature_flags_id_seq'), 'editor-3', false);" | psql -U postgres carto_db_development && \
|
||||
echo "INSERT INTO feature_flags (id,name, restricted) VALUES (nextval('machine_added_feature_flags_id_seq'), 'explore_site', false);" | psql -U postgres carto_db_development && \
|
||||
|
||||
ORGANIZATION_NAME="example"
|
||||
USERNAME="admin4example"
|
||||
|
Loading…
Reference in New Issue
Block a user