[openstreetmap-website] more detail for production configuration (#802)
notifications at github.com
Fri Nov 7 05:16:21 UTC 2014
> * Passenger will, by design, use the Production environment and therefore the production database - make sure it contains the appropriate data and user accounts.
> * 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](http://git.openstreetmap.org/gpx-import.git/).
> * Make sure you precompile the production assets: `RAILS_ENV=production rake assets:precompile`
> * Make sure the web server user as well as the rails user can read, write and create directories in `tmp/`.
> +* Prepend all `rake` commands in [the installation instructions](INSTALL.md) with `RAILS_ENV=production ` (example `RAILS_ENV=production rake db:create`) to make sure the production environment is set up properly.
Is this necessary? INSTALL.md indicates that `bundle exec rake db:create` creates all three databases
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rails-dev