X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9cf698322ce70e2fdb718be6624b0ac4e8eaf285..43c09d8062fc4aef4f1e0e5d3598e526a02bb288:/CONFIGURE.md diff --git a/CONFIGURE.md b/CONFIGURE.md index 3cbe31cb9..c6444ffa9 100644 --- a/CONFIGURE.md +++ b/CONFIGURE.md @@ -86,6 +86,8 @@ potlatch2_key: "8lFmZPsagHV4l3rkAHq0hWY5vV3Ctl3oEFY1aXth" Follow the same process for registering and configuring iD (`id_key`) and the website/Notes (`oauth_key`), or to save time, simply reuse the same consumer key for each. +**NOTE:** If you forget to set up OAuth, then you will get an error message similar to `uninitialized constant ActionView::CompiledTemplates::ID_KEY`. + ## Troubleshooting Rails has its own log. To inspect the log, do this: @@ -125,5 +127,5 @@ If you want to deploy The Rails Port for production use, you'll need to make a f * Your production database will also need the extensions and functions installed - see [INSTALL.md](INSTALL.md) * The included version of the map call is quite slow and eats a lot of memory. You should consider using [CGIMap](https://github.com/zerebubuth/openstreetmap-cgimap) instead. * The included version of the GPX importer is slow and/or completely inoperable. You should consider using [the high-speed GPX importer](https://git.openstreetmap.org/gpx-import.git/). -* Make sure you precompile the production assets: `RAILS_ENV=production rake assets:precompile` +* Make sure you generate the i18n files and precompile the production assets: `RAILS_ENV=production rake i18n:js:export assets:precompile` * Make sure the web server user as well as the rails user can read, write and create directories in `tmp/`.