Tried CARTO Builder, but disabled it again

This commit is contained in:
Stefan Verhoeven 2016-09-17 09:53:40 +02:00
parent 455d578800
commit dca39908f5
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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"