Advise to run i18n:js:export before assets:precompile

This commit is contained in:
Peter 2019-01-30 21:18:02 +01:00 committed by GitHub
parent 7a4b896ee7
commit c6b3cfb22e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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/`.