From c6b3cfb22e4b3a4d41611a8dd5d0e4f100c2f036 Mon Sep 17 00:00:00 2001 From: Peter Date: Wed, 30 Jan 2019 21:18:02 +0100 Subject: [PATCH] Advise to run i18n:js:export before assets:precompile --- CONFIGURE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONFIGURE.md b/CONFIGURE.md index 0b8af0483..29cbd27f7 100644 --- a/CONFIGURE.md +++ b/CONFIGURE.md @@ -127,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 l18n 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/`. -- 2.43.2