mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-08 19:14:07 +00:00
docs: copying project dir no longer necessary
This commit is contained in:
@@ -198,11 +198,10 @@ target machine.
|
|||||||
of a full database.
|
of a full database.
|
||||||
|
|
||||||
Next install Nominatim on the target machine by following the standard installation
|
Next install Nominatim on the target machine by following the standard installation
|
||||||
instructions. Again make sure to use the same version as the source machine.
|
instructions. Again, make sure to use the same version as the source machine.
|
||||||
|
|
||||||
You can now copy the project directory from the source machine to the new machine.
|
Create a project directory on your destination machine and set up the `.env`
|
||||||
If necessary, edit the `.env` file to point it to the restored database.
|
file to match the configuration on the source machine. Finally run
|
||||||
Finally run
|
|
||||||
|
|
||||||
nominatim refresh --website
|
nominatim refresh --website
|
||||||
|
|
||||||
@@ -210,6 +209,8 @@ to make sure that the local installation of Nominatim will be used.
|
|||||||
|
|
||||||
If you are using the legacy tokenizer you might also have to switch to the
|
If you are using the legacy tokenizer you might also have to switch to the
|
||||||
PostgreSQL module that was compiled on your target machine. If you get errors
|
PostgreSQL module that was compiled on your target machine. If you get errors
|
||||||
that PostgreSQL cannot find or access `nominatim.so` then copy the installed
|
that PostgreSQL cannot find or access `nominatim.so` then rerun
|
||||||
version into the `module` directory of your project directory. The installed
|
|
||||||
copy can usually be found under `/usr/local/lib/nominatim/module/nominatim.so`.
|
nominatim refresh --functions
|
||||||
|
|
||||||
|
on the target machine to update the the location of the module.
|
||||||
|
|||||||
Reference in New Issue
Block a user