|
|
|
@ -4,9 +4,6 @@ cd /cartodb
|
|
|
|
|
mkdir -p log && chmod -R 777 log/
|
|
|
|
|
createdb -T template0 -O postgres -h localhost -U postgres -E UTF8 template_postgis || true
|
|
|
|
|
psql -h localhost -U postgres template_postgis -c 'CREATE EXTENSION IF NOT EXISTS postgis;CREATE EXTENSION IF NOT EXISTS postgis_topology;'
|
|
|
|
|
REDIS_PORT=6335 RAILS_ENV=development bundle exec rake db:drop || true
|
|
|
|
|
REDIS_PORT=6335 RAILS_ENV=test bundle exec rake cartodb:test:prepare
|
|
|
|
|
REDIS_PORT=6335 RAILS_ENV=development bundle exec rake db:create
|
|
|
|
|
REDIS_PORT=6335 RAILS_ENV=development bundle exec rake db:migrate
|
|
|
|
|
cd -
|
|
|
|
|
|
|
|
|
|