Commit Graph

87 Commits

Author SHA1 Message Date
Stefan Verhoeven
d919441db4 Varnish download location has moved + Cartodb repo now longer accepts environment during grunt task, so dropped it 2017-09-08 19:03:45 +02:00
Stefan Verhoeven
5218b9940e Enabled sync tables for all users + periodically trigger sync tables task
Refs #11
2017-08-01 22:07:30 +02:00
Stefan Verhoeven
790038dcad Added healthcheck 2017-07-01 21:54:37 +02:00
Stefan Verhoeven
685c0f1f80 Give user and organization geocoder quota
Also remove extra space so gecoder is configured correctly in user/org db
2017-07-01 21:52:35 +02:00
Stefan Verhoeven
b258ef9b86 Merge branch 'master' into geocoder2 2017-07-01 18:34:08 +02:00
Stefan Verhoeven
1754fac6d2 Fixed discrepancy between cartodb-postgresql version in it's repo and cartodb repo
Install cartodb-postgresql using cartdb/lib/sql submodule.
2017-07-01 17:22:27 +02:00
Sriram Raghunathan
06ea212440 Fix, npm and node version dependency
Signed-off-by: Sriram Raghunathan <rsriram7@visteon.com>
2017-06-24 22:48:06 +05:30
Sriram Raghunathan
a6f7bf7fb6 Fix unreachable RVM url
Signed-off-by: Sriram Raghunathan <rsriram7@visteon.com>
2017-06-23 15:54:07 +05:30
Stefan Verhoeven
2d8286c5df Able to fill internal geocoder tables, but get 'too many source rows' error during georeference analysis of countries. 2017-04-13 23:54:00 +02:00
Stefan Verhoeven
723dc41d65 Merge branch 'master' into geocoder2 2017-04-13 21:16:48 +02:00
Stefan Verhoeven
bc71a1bf83 Use -h to specify hostname + disabled hubspot + fix missing locales from upstream 2017-04-13 21:14:05 +02:00
Stefan Verhoeven
92e894a1b3 Install locales 2017-04-13 16:29:45 +02:00
Stefan Verhoeven
d6832a177f Further progress configuring geocoder.
Now brower error:
```
error: cdb_dataservices_client._cdb_service_quota_info(2): [cartodb_dev_user_5357a703-8b69-48d4-b114-122e9498aca7_db] REMOTE ERROR: spiexceptions.ExternalRoutineException: cartodb_services.metrics.config.ConfigException: Here maps configuration missing↵    at Connection.parseE (/CartoDB-SQL-API/node_modules/cartodb-psql/node_modules/pg/lib/connection.js:560:11)↵    at Connection.parseMessage (/CartoDB-SQL-API/node_modules/cartodb-psql/node_modules/pg/lib/connection.js:383:17)↵    at Socket.<anonymous> (/CartoDB-SQL-API/node_modules/cartodb-psql/node_modules/pg/lib/connection.js:119:22)↵    at Socket.emit (events.js:95:17)↵    at Socket.<anonymous> (_stream_readable.js:765:14)↵    at Socket.emit (events.js:92:17)↵    at emitReadable_ (_stream_readable.js:427:10)↵    at emitReadable (_stream_readable.js:423:5)↵    at readableAddChunk (_stream_readable.js:166:9)↵    at Socket.Readable.push (_stream_readable.js:128:10)↵    at TCP.onread (net.js:529:21)"
Name

```
When map without geometry is opened.
2017-04-06 22:24:10 +02:00
Stefan Verhoeven
b26f4688f8 Reduced image size rrom 4.87 to 3.52 Gb
By cleaning up unneeded files
2017-04-04 22:06:48 +02:00
Stefan Verhoeven
0e6fe18331 Added crankshaft extension to PostgreSQL template 2017-04-04 21:13:53 +02:00
Stefan Verhoeven
8ef276cc22 :lipstick 2017-04-04 08:21:59 +02:00
Stefan Verhoeven
bbf2c54325 * Embed nginx inside Docker image so all services are reversed proxied behind port 80
* 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
2017-04-03 22:55:12 +02:00
Stefan Verhoeven
dbbc2355c8 Tried to build Xenial, but throws error on login 2016-09-17 11:38:53 +02:00
Stefan Verhoeven
dca39908f5 Tried CARTO Builder, but disabled it again 2016-09-17 09:53:40 +02:00
Stefan Verhoeven
ffaeb4c843 Keyserver suggested by @snario did not work for me, changed it back to keys.gnupg.net 2016-07-11 09:48:02 +02:00
Liam Horne
d2c6fd8c29 Update Dockerfile so all build steps successfully run 2016-07-09 16:18:36 -04:00
Stefan Verhoeven
c533fd1e7b Created a geocoder database.
Geocoder is not working at the moment.
2016-03-25 18:38:31 +01:00
Stefan Verhoeven
df6cc7076d Added GDAL_DATA env var.
Uploading files failed due to org2ogr2 no able to find gdal data.
2016-03-25 18:36:59 +01:00
Stefan Verhoeven
a7c54f24eb jwt 1.5.3 has been janked, bumping version to 1.5.4 2016-03-25 16:00:42 +01:00
Stefan Verhoeven
e751ee16a1 Added ogr2ogr2 + plproxy + nodejs v0.10.41 + cartodb geocoder api.
Run create_dev_user twice, if fails on google api key first time running seconds makes in complete successfully.
2016-02-07 21:59:26 +01:00
Stefan Verhoeven
f941e5f4be Tune postgresql based on available memory. 2015-08-18 13:46:39 +02:00
Stefan Verhoeven
f149258b8a Prepare for automated build.
Moved config files down.
2015-07-24 12:24:28 +02:00
Stefan Verhoeven
7bb64f62d8 Merge remote-tracking branch 'origin/fixlogin' into fixlogin 2015-05-12 08:11:18 +02:00
Stefan Verhoeven
2f80b45548 Add pango dep 2015-05-12 08:09:21 +02:00
Stefan Verhoeven
ac3cd5c3b2 Create an organization.
Organization can be used to share maps between members and because members uses same db an remote schema only has to be created once.
A remote schema is a schema from a remote database server which can be made accessable using foreign data wrapper.
2015-02-18 09:51:25 +01:00
Stefan Verhoeven
5210a06218 Expose sql api and tile webservice. 2015-02-13 14:50:03 +01:00
Stefan Verhoeven
cf6bc86c6c Update cartodb-postgresql.
Do rvm install before cartodb specific steps, so rebuild is faster.
2015-02-13 14:41:12 +01:00
jrgcampuzano
4a89fba285 Pin postgresql-cartodb version to 0.5.1 to avoid errors 2015-01-04 21:26:00 -06:00
Noah Glusenkamp
ca0ff82f29 upgrade cartodb-postgresql version to 0.5.0 2014-12-02 14:30:46 -05:00
Noah Glusenkamp
f9c2bdab10 Pin postgresql-cartodb version to 0.4.1 to avoid errors 2014-11-26 23:22:50 +00:00
Dmitry Polushkin
44acf1474d Use ruby 1.9.3 p547 to prevent debugger failure
In debugger-ruby_core_source 1.3.7 this was fixed https://github.com/cldwalker/debugger-ruby_core_source/pull/42 for ruby  1.9.3-p551
2014-11-16 12:31:15 +00:00
fleu
21cc7911c1 Populate docker-cartodb with required files.
Here I commit all the required files for a development cartodb container
to be successfully build and run with Docker.
2014-11-15 16:32:19 +01:00