docker-cartojw/startup.sh
Stefan Verhoeven d7ab8b6dac Put cartodb db services behind nginx.
Updated configs to master branch of Cartodb repos.
2015-05-16 13:01:49 +02:00

21 lines
350 B
Bash
Executable File

#!/bin/bash
PORT=3000
service postgresql start
service redis-server start
service varnish start
cd /Windshaft-cartodb
node app.js development &
cd /CartoDB-SQL-API
node app.js development &
cd /cartodb
source /usr/local/rvm/scripts/rvm
bundle exec script/restore_redis
bundle exec script/resque > resque.log 2>&1 &
bundle exec rails s -p $PORT