Skip to content

Commit e77942f

Browse files
Merge pull request #313 from nesangcode/master
Update geonode.local_settings to geonode.settings
2 parents 9f36307 + 0fc72d0 commit e77942f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

install/advanced/core/index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1057,7 +1057,7 @@ In particular the steps to do are:
10571057
cd /opt/geonode
10581058
10591059
# Update the GeoNode ip or hostname
1060-
PYTHONWARNINGS=ignore VIRTUAL_ENV=$VIRTUAL_ENV DJANGO_SETTINGS_MODULE=geonode.local_settings GEONODE_ETC=/opt/geonode/geonode GEOSERVER_DATA_DIR=/opt/data/geoserver_data TOMCAT_SERVICE="service tomcat9" APACHE_SERVICE="service nginx" geonode_updateip -l localhost -p www.example.org
1060+
PYTHONWARNINGS=ignore VIRTUAL_ENV=$VIRTUAL_ENV DJANGO_SETTINGS_MODULE=geonode.settings GEONODE_ETC=/opt/geonode/geonode GEOSERVER_DATA_DIR=/opt/data/geoserver_data TOMCAT_SERVICE="service tomcat9" APACHE_SERVICE="service nginx" geonode_updateip -l localhost -p www.example.org
10611061
10621062
exit
10631063
@@ -1073,14 +1073,14 @@ In particular the steps to do are:
10731073
# Add these to make available. Change user, password and server information to yours
10741074
export DATABASE_URL='postgresql://<postgresqluser>:<postgresqlpass>@localhost:5432/geonode'
10751075
1076-
#Close virtual environmetn and aopen it again to update variables
1076+
# Close virtual environment and aopen it again to update variables
10771077
deactivate
10781078
10791079
workon geonode
10801080
cd /opt/geonode
10811081
10821082
# Update the GeoNode ip or hostname
1083-
DJANGO_SETTINGS_MODULE=geonode.local_settings python manage.py migrate_baseurl --source-address=http://localhost --target-address=http://www.example.org
1083+
DJANGO_SETTINGS_MODULE=geonode.settings python manage.py migrate_baseurl --source-address=http://localhost --target-address=http://www.example.org
10841084
10851085
.. note:: If at the end you get a "bad gateway" error when accessing your geonode site, check uwsgi log with ``sudo tail -f /var/log/geonode.log`` and if theres is an error related with port 5432 check the listening configuration from the postgresql server and allow the incoming traffic from geonode.
10861086

0 commit comments

Comments
 (0)