fix typos and grammar in installation instructions

This commit is contained in:
Sarah Hoffmann
2016-07-26 20:38:07 +02:00
parent 7da9178b83
commit 3f06d9d3ba
4 changed files with 16 additions and 12 deletions

View File

@@ -24,7 +24,7 @@ Now you can install all packages needed for Nominatim:
bzip2-devel proj-devel geos-devel libxml2-devel boost-devel expat-devel zlib-devel bzip2-devel proj-devel geos-devel libxml2-devel boost-devel expat-devel zlib-devel
If you want to run the test suite, you need to install the following If you want to run the test suite, you need to install the following
aditional packages: additional packages:
sudo yum install -y python-pip python-Levenshtein python-psycopg2 \ sudo yum install -y python-pip python-Levenshtein python-psycopg2 \
php-phpunit-PHPUnit php-phpunit-PHPUnit
@@ -83,7 +83,8 @@ Now start the postgresql service after updating this config file.
Finally, we need to add two postgres users: one for the user that does Finally, we need to add two postgres users: one for the user that does
the import and another for the webserver ro access the database: the import and another for the webserver which should access the database
only for reading:
sudo -u postgres createuser -s $USERNAME sudo -u postgres createuser -s $USERNAME
@@ -147,7 +148,7 @@ Get the source code from Github and change into the source directory
The code is built in a special directory. Create this directory, The code must be built in a separate directory. Create this directory,
then configure and build Nominatim in there: then configure and build Nominatim in there:
mkdir build mkdir build

View File

@@ -27,7 +27,7 @@ Now you can install all packages needed for Nominatim:
git git
If you want to run the test suite, you need to install the following If you want to run the test suite, you need to install the following
aditional packages: additional packages:
sudo apt-get install -y python-dev python-pip python-levenshtein python-shapely \ sudo apt-get install -y python-dev python-pip python-levenshtein python-shapely \
python-psycopg2 tidy python-nose python-tidylib \ python-psycopg2 tidy python-nose python-tidylib \
@@ -80,7 +80,8 @@ Restart the postgresql service after updating this config file.
Finally, we need to add two postgres users: one for the user that does Finally, we need to add two postgres users: one for the user that does
the import and another for the webserver ro access the database: the import and another for the webserver which should access the database
for reading only:
sudo -u postgres createuser -s $USERNAME sudo -u postgres createuser -s $USERNAME
@@ -133,7 +134,7 @@ Get the source code from Github and change into the source directory
The code is built in a special directory. Create this directory, The code must be built in a separate directory. Create this directory,
then configure and build Nominatim in there: then configure and build Nominatim in there:
mkdir build mkdir build

View File

@@ -25,7 +25,7 @@
bzip2-devel proj-devel geos-devel libxml2-devel boost-devel expat-devel zlib-devel bzip2-devel proj-devel geos-devel libxml2-devel boost-devel expat-devel zlib-devel
# If you want to run the test suite, you need to install the following # If you want to run the test suite, you need to install the following
# aditional packages: # additional packages:
sudo yum install -y python-pip python-Levenshtein python-psycopg2 \ sudo yum install -y python-pip python-Levenshtein python-psycopg2 \
php-phpunit-PHPUnit php-phpunit-PHPUnit
@@ -84,7 +84,8 @@
# #
# Finally, we need to add two postgres users: one for the user that does # Finally, we need to add two postgres users: one for the user that does
# the import and another for the webserver ro access the database: # the import and another for the webserver which should access the database
# only for reading:
# #
sudo -u postgres createuser -s $USERNAME sudo -u postgres createuser -s $USERNAME
@@ -148,7 +149,7 @@ else #DOCS:
cd $USERHOME #DOCS: cd $USERHOME #DOCS:
fi #DOCS: fi #DOCS:
# The code is built in a special directory. Create this directory, # The code must be built in a separate directory. Create this directory,
# then configure and build Nominatim in there: # then configure and build Nominatim in there:
mkdir build mkdir build

View File

@@ -28,7 +28,7 @@ sudo update-locale LANG=en_US.UTF-8 #DOCS:
git git
# If you want to run the test suite, you need to install the following # If you want to run the test suite, you need to install the following
# aditional packages: # additional packages:
sudo apt-get install -y python-dev python-pip python-levenshtein python-shapely \ sudo apt-get install -y python-dev python-pip python-levenshtein python-shapely \
python-psycopg2 tidy python-nose python-tidylib \ python-psycopg2 tidy python-nose python-tidylib \
@@ -81,7 +81,8 @@ sudo update-locale LANG=en_US.UTF-8 #DOCS:
# #
# Finally, we need to add two postgres users: one for the user that does # Finally, we need to add two postgres users: one for the user that does
# the import and another for the webserver ro access the database: # the import and another for the webserver which should access the database
# for reading only:
# #
sudo -u postgres createuser -s $USERNAME sudo -u postgres createuser -s $USERNAME
@@ -134,7 +135,7 @@ else #DOCS:
cd $USERHOME #DOCS: cd $USERHOME #DOCS:
fi #DOCS: fi #DOCS:
# The code is built in a special directory. Create this directory, # The code must be built in a separate directory. Create this directory,
# then configure and build Nominatim in there: # then configure and build Nominatim in there:
mkdir build mkdir build