[openstreetmap/openstreetmap-website] Issue Installing Creating Function (#1709)

Matt Amos notifications at github.com
Fri Dec 22 10:27:08 UTC 2017


More detail, in case it's helpful: The `pwd` command stands for Print Working Directory, and the intention is to replace the `` `pwd` `` with the full path to the directory where `openstreetmap-website` is checked out. For example, when I check out the repository as `/home/matt/Programming/OSM/openstreetmap-website`, then I would run:

```
psql -d openstreetmap -c "CREATE FUNCTION maptile_for_point(int8, int8, int4) RETURNS int4 AS '/home/matt/Programming/OSM/openstreetmap-website/db/functions/libpgosm', 'maptile_for_point' LANGUAGE C STRICT"
```

Hope that helps.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1709#issuecomment-353569762
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20171222/f1019562/attachment-0001.html>


More information about the rails-dev mailing list