A spike into using datomic to model data registers.
You need Datomic. If you agree to the Datomic Free License you can
install it using homebrew: brew install datomic
.
A spike into using datomic to model data registers.
You need Datomic. If you agree to the Datomic Free License you can
install it using homebrew: brew install datomic
.
2015-05-19T14:12:14.514559+00:00 app[web.1]: [error] c.j.b.ConnectionHandle - Database access problem. Killing off this connection and all remaining connections in the connection pool. SQL State = 57P01 | |
2015-05-19T14:12:14.762639+00:00 app[web.1]: [error] application - | |
2015-05-19T14:12:14.762643+00:00 app[web.1]: | |
2015-05-19T14:12:14.762646+00:00 app[web.1]: ! @6m7idhci3 - Internal server error, for (GET) [/] -> | |
2015-05-19T14:12:14.762647+00:00 app[web.1]: | |
2015-05-19T14:12:14.762651+00:00 app[web.1]: play.api.Application$$anon$1: Execution exception[[RuntimeException: java.lang.RuntimeException: org.postgresql.util.PSQLException: FATAL: terminating connection due to administrator command]] | |
2015-05-19T14:12:14.762653+00:00 app[web.1]: at play.api.Application$class.handleError(Application.scala:296) ~[com.typesafe.play.play_2.11-2.3.8.jar:2.3.8] | |
2015-05-19T14:12:14.762655+00:00 app[web.1]: at play.api.DefaultApplication.handleError(Application.scala:402) [com.typesafe.play.play_2.11-2.3.8.jar:2.3.8] | |
2015-05-19 |
(function() { | |
var jQuery = window.$; | |
var OpenRegister = function(endpoint) { | |
this.endpoint = endpoint; | |
}; | |
OpenRegister.prototype.buildURL = function(path) { | |
return this.endpoint + path + ".json"; | |
}; |
Setting up a standalone mapit instance is documented at http://mapit.poplus.org/docs/self-hosted/install/ but there are some issues. This summarizes what I needed to do:
# install postgis
Country names (published by Permanent Committee on Geographical Names): https://www.gov.uk/government/publications/country-names
FCO Geographical Names Index - country names and descriptive terms (published by FCO): https://www.gov.uk/government/publications/geographical-names-and-information
World locations: https://www.gov.uk/government/world
Fisrt, download and run the nixos/nix image:
docker run -ti nixos/nix /bin/sh
Subscribe to the nixos channel (eventually, certificate-transparency will be available on the nixpkgs channel too but as of 2015-12-14 it's not):
nix-build -E '<nix-expr>' |