10 lines
366 B
Bash
Executable File
10 lines
366 B
Bash
Executable File
#!/bin/bash
|
|
|
|
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=test bundle exec rake cartodb:test:prepare
|
|
cd -
|
|
|