bbf2c54325
* Use Varnish 3 from source tarball, newer and OS Varnish could not disable telnet authentication required by Carto * Remove sources of varnish, gdal, /cartodb/.git when no longer needed in order to make image smaller * Dropped Nokia and GMAP basemaps, they did not work * Dropped schema trigger installation, it is no longer needed * Configure Carto in Python and NodeJS * Build assets * Use self as asset_host, assets are hosted by nginx instead of rails
19 lines
458 B
Bash
Executable File
19 lines
458 B
Bash
Executable File
#!/bin/bash
|
|
|
|
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 &
|
|
bundle exec thin start --threaded -p 3000 --threadpool-size 5
|