X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/be86e4824fe57c203c8916568527d38314d8423f..46bc4650d2123a2233e62f0e101983552178d12a:/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/`.