You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
663 B
22 lines
663 B
#!/bin/bash
|
|
|
|
perl -pi -e 's/cartodb\.localhost/$ENV{"HOSTNAME"}/g' /etc/nginx/sites-enabled/default /cartodb/config/app_config.yml /Windshaft-cartodb/config/environments/development.js
|
|
|
|
service postgresql start
|
|
service redis-server start
|
|
/opt/varnish/sbin/varnishd -a :6081 -T localhost:6082 -s malloc,256m -f /etc/varnish.vcl
|
|
service nginx 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 &
|
|
script/sync_tables_trigger.sh &
|
|
bundle exec thin start --threaded -p 3000 --threadpool-size 5
|