Commit graph

55 commits

Author SHA1 Message Date
Tom Hughes
81c3ebe03c Remove xid_to_int4 postgres function
Fixes #3288
2021-08-06 00:15:40 +01:00
Tom Hughes
3b32753141 Merge remote-tracking branch 'upstream/pull/3213' 2021-06-04 21:10:32 +01:00
Robbendebiene
bc12774c21
Added missing dependency for fedora install 2021-06-04 16:48:33 +02:00
Robbendebiene
ff877321e7
fixed nodejs package name for fedora 2021-06-04 16:29:08 +02:00
Andy Allan
4c785792fb Switch to using 'rails test:all' in documentation and CI
Fixes #3116.

This allows us to drop our custom patch for running system tests,
as well as opening up all the usual rails test goodies like running
individual files or directories.
2021-05-19 13:39:37 +01:00
Andy Allan
86dbcb55f2
Merge pull request #2409 from jalessio/docker-compose-take2
Add Docker Compose Support for Development Environment
2021-02-03 18:07:29 +00:00
mmd-osm
4e6d729529 Remove /api/0.6/changes endpoint
Also removes sql functions which are only used by this endpoint
2021-02-03 14:06:34 +00:00
Michal Migurski
c936063876 Update INSTALL.md to restore original graf
This reverts commit 20dbf8946351b71fbb4cda69ebdacb1dda2876a6.
2021-01-28 12:03:58 -08:00
Jamie Alessio
6bcd2144a7 Update INSTALL.md to reference Docker as an option 2021-01-28 12:03:58 -08:00
Andy Allan
536c62175c Avoid recommending installation of the Ubuntu bundler package
Due to a problem with namespacing and vendoring, the Ubuntu package
leads to namespace conflicts with Thor 1+

Fixes #3013
2021-01-21 11:29:29 +00:00
Tom Hughes
6e55d4c70d Add yarn to Ubuntu install instructions 2020-11-10 09:39:19 +00:00
nlaratta
192a52d55a Changed Ubuntu 18.04 to 20.04 and Ruby 2.5 to 2.7
Fixes #2909
Closes #2922
2020-10-28 18:16:40 +00:00
Tom Hughes
8773ec6e57 Switch to using selenium for system tests 2020-04-22 13:51:37 +01:00
Boubacar
5e925cc720 Fix macosx-bundle-config link typo
Removed an extra ')' that caused the last link for macosx-bundle-config to render incorrectly.
2020-02-17 11:15:38 +00:00
Andreas Hubel
f25af7ae11
Improve macOS install notes 2020-02-17 10:21:57 +01:00
Boubacar
f54642381b
Fix macosx-bundle-config link typo
Removed an extra ')' that caused the last link for macosx-bundle-config to render incorrectly.
2020-02-16 17:45:43 -05:00
Matt Amos
afe679349f Merge remote-tracking branch 'openstreetmap/master' into mac-os-x-install 2019-10-21 14:22:59 +01:00
Matt Amos
5895ae62af Add section on using rbenv, separate from main installation instructions. 2019-10-21 14:18:25 +01:00
Tom Hughes
9508368d37 Merge remote-tracking branch 'upstream/pull/2383' 2019-10-20 19:13:30 +01:00
Matt Amos
cc101f582d Fix installation instructions for Mac OS X
The installation of `libxml-ruby` was broken because it was picking up the system version of the libxml2 library. By setting a `bundler` config item, it's possible to point it to the right place.

Also updated the instructions for `phantomjs`, which Homebrew has moved to a cask (and is now not officially supported), and added some of the extra command line tools that are used (`pngcrush`, `optipng`, etc...)
2019-10-18 16:25:30 +01:00
Matt Amos
2423d86914 Make documentation clearer and shorter by deferring complicated shared-library SQL explanations to 'advanced' documentation. Also mention in the CONFIGURING.md. 2019-10-09 12:13:27 +01:00
Matt Amos
ced8ac86ab Remove need for shared library PostgreSQL functions
This repo contains code for three functions to be loaded into PostgreSQL as a shared library:

1. `maptile_for_point`, which is used only by the `/changes` API call. This API call is little-used and IMHO should be deprecated and removed. However, even now it's hardly on the hot path for most development activities.
2. `tile_for_point`, which is used only in migrations. At this point, it seems unlikely that anyone will be doing a migration on existing data which would call this function (most developers will be running migrations on an empty database, to set it up).
3. `xid_to_int4`, which is only used for replication using Osmosis and isn't used in the Rails code at all. Hopefully this will be replaced Real Soon Now, but until then it's a quite advanced feature that most developers won't need.

Therefore, this patch proposes to replace the above three shared library functions with SQL implementations of the first two. These are _much_ slower - by a factor of about 30x, however this makes no difference when they're run on a completely empty database. In return, we're able to drop a dependency on the PostgreSQL server development package, and clean a few lines out of the installation instructions.

It's still possible to make and install the shared library functions, and I've included instructions about how to do that - although it shouldn't be necessary for the vast majority of `openstreetmap-website` developers.
2019-10-04 13:25:00 +01:00
Tobias
be9db818b2
Add reference to settings-file in installation.md
This way new developers will not have to look up this error themselves.
2019-09-23 16:45:25 +02:00
Tom Hughes
2a9346adb0 Make sure phantomjs is installed 2019-08-07 17:29:26 +01:00
Tom Hughes
c162c065c6 Merge remote-tracking branch 'upstream/pull/2296' 2019-07-15 08:19:30 +01:00
Mateusz Konieczny
d63beb8080 make link in documentation clickable 2019-07-11 21:11:25 +02:00
Tom Hughes
ba627420a3 Add support for Active Storage attachments 2019-07-09 19:17:29 +01:00
Grant Slater
f39ea70083 Ubuntu 18.04 is now required. Add apt-get update 2019-07-03 20:47:07 +01:00
Tom Hughes
9299f8ca23 Include bundler in packages to install on Ubuntu 2019-07-03 17:59:14 +01:00
Tom Hughes
78ecc76067 Update list of dependencies to install 2019-06-30 00:25:21 +01:00
Tom Hughes
d67b057851 Replace eslint-rails-ee with direct calls to eslint 2019-06-12 19:27:58 +01:00
Tom Hughes
dcfe326f65 Merge remote-tracking branch 'upstream/pull/2175' 2019-03-26 19:14:04 +00:00
Andy Allan
e1cacdbe0e Update documentation for new approach to settings 2019-03-13 18:06:23 +01:00
Andy Allan
f28e236bdd Upgrade minimum version of ruby to 2.5
This prepares the way for gems that depend on newer ruby, and also
prepares for the rails 6 upgrade.
2019-03-13 10:28:50 +01:00
Andy Allan
83f78ce64a Fix incorrect reference to 12.04 in installation notes 2018-09-19 14:34:49 +01:00
Tom Hughes
fe35fe7475 Add libffi to requirements 2018-02-18 10:22:34 +00:00
Tom Hughes
be86e4824f Convert various URLs to https 2018-01-08 20:18:21 +00:00
Martijn van Exel
4d7411eabd A couple more tweaks to Mac install docs
* The URL for the homebrew site  has changed.
* Added phantomjs (test dependency)

Closes #1700
2017-12-07 18:02:26 +00:00
Martijn van Exel
da52b3a778 Add explicit install instructions for libxml2 on MacOS
Closes #1698
2017-12-07 09:26:36 +00:00
Harry Wood
ea93c0338c More dependency tweaks for gem2.3 and apache2-dev
Closes #1405
2017-01-03 15:06:20 +00:00
Harry Wood
194eaeb687 ruby2.0->ruby 2.3
change dependancies. nokogiri requires a later ruby now as pointed out here: https://github.com/openstreetmap/openstreetmap-website/issues/1402 ruby2.0->ruby 2.3 ...which then entails a later ubuntu if we're installing from packages.
2017-01-03 13:40:57 +00:00
Paul Norman
208e24d398 INSTALL.md grammar 2016-12-16 20:58:41 -08:00
Bilkow
2b73eeb170 INSTALL.md: Added inline code markdown.
Added inline code markdown in MacOSX install instructions, making it look like command line code.
2016-08-13 02:36:53 -03:00
Tom Hughes
07cbf7f9df We require PostgreSQL 9.1 for CREATE EXTENSION 2016-03-14 20:57:41 +00:00
Simon Legner
6c34885fe7 Fix error and inconsistencies INSTALL.md 2016-03-14 20:56:59 +00:00
Tom Hughes
b7bea9c6b3 Use rake test:db to do initial test run
This makes sure the database is initialised by loading the schema
dumped after migrating the development database.

Fixes #878
Closes #1173
2016-03-08 14:23:43 +00:00
Victor Grousset
b0a4a93c68 Add ImageMagick to list of packages to install 2015-12-30 22:12:11 +00:00
Tom Hughes
f7b6d76913 Update documentation to say ruby 2.0 is required 2015-12-10 09:50:34 +00:00
Paul Norman
a694609ffa Remove 9.0 extension install instructions
PostgreSQL 9.0 is end of life, and having both extension install methods in documentation is often a source of confusion.
2015-12-10 00:50:55 -08:00
tilmanb
0678ab6067 typofix (bupported -> supported) 2015-06-25 10:07:29 +02:00