X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/2e34b62fac7d0a9a7b03e92bdf26f691736e2954..39cc056fa2e657a70e9fc0f107ae754842265b55:/INSTALL.md diff --git a/INSTALL.md b/INSTALL.md index f3b4b8550..b9aa1a329 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -1,6 +1,6 @@ # Installation -These instructions are designed for setting up The Rails Port for development and testing. +These instructions are designed for setting up `openstreetmap-website` for development and testing. If you want to deploy the software for your own project, then see the notes at the end. You can install the software directly on your machine, which is the traditional and probably best-supported approach. However, there @@ -150,7 +150,7 @@ touch config/settings.local.yml ## Storage setup -The Rails port needs to be configured with an object storage facility - for +`openstreetmap-website` needs to be configured with an object storage facility - for development and testing purposes you can use the example configuration: ``` @@ -159,7 +159,7 @@ cp config/example.storage.yml config/storage.yml ## Database setup -The Rails Port uses three databases - one for development, one for testing, and one for production. The database-specific configuration +`openstreetmap-website` uses three databases - one for development, one for testing, and one for production. The database-specific configuration options are stored in `config/database.yml`, which we need to create from the example template. ``` @@ -188,14 +188,6 @@ To create the three databases - for development, testing and production - run: bundle exec rake db:create ``` -### PostgreSQL Btree-gist Extension - -We need to load the `btree-gist` extension, which is needed for showing changesets on the history tab. - -``` -psql -d openstreetmap -c "CREATE EXTENSION btree_gist" -``` - ### PostgreSQL Functions We need to install some special functions into the PostgreSQL database: