You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* run ``DJANGO_SETTINGS_MODULE=<project_name>.settings python manage.py migrate monitoring`` to apply db schema changes and insert initial data
74
+
* run ``DJANGO_SETTINGS_MODULE=<project_name>.settings python manage.py updategeoip`` to fetch MaxMind's GeoIP database file. It will be written to path specified by `GEOIP_PATH` setting.
75
+
* run ``DJANGO_SETTINGS_MODULE=<project_name>.settings python manage.py collect_metrics -n -t xml -f --since='<yyyy-mm-dd HH:mm:ss>'`` to create first metrics.
76
+
77
+
.. warning::
78
+
79
+
Replace ``<yyyy-mm-dd HH:mm:ss>`` with a real date time to start with.
80
+
81
+
* update ``Sites`` from admin; make sure it contains a correct host name
82
+
* do not forget to enable notifications and configure them from user profile
83
+
84
+
Enable the collect_metrics ``cron``
85
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
86
+
87
+
.. warning:: Here below you will find instructions for a Ubuntu 16.04 based machine, but the procedure is similar for other OSs. The basic concept is that you must allow the system to run the command ``DJANGO_SETTINGS_MODULE=<project_name>.settings python manage.py collect_metrics -n -t xml`` (**without -f and since**) every minute.
88
+
89
+
cront job
90
+
^^^^^^^^^
91
+
92
+
.. code:: python
93
+
94
+
sudo crontab -e
95
+
96
+
.. code:: python
97
+
98
+
# Add the following line at the bottom; this will run the supervisor command every minute
99
+
* * * * * supervisorctl start geonode-monitoring
100
+
101
+
supervisor
102
+
^^^^^^^^^^
103
+
104
+
.. code:: python
105
+
106
+
sudo apt install supervisor
107
+
sudo service supervisor restart
108
+
sudo update-rc.d supervisor enable
47
109
48
110
.. code:: python
49
111
50
-
MONITORING_ENABLED = True
51
-
# add following lines to your local settings to enable monitoring
Copy file name to clipboardExpand all lines: docs/tutorials/install_and_admin/index.txt
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,7 @@ At the end of this section you will be able to setup from scratch the whole GeoN
28
28
quick_install
29
29
linux_admin_intro/index
30
30
running_ansible
31
+
running_docker/index
31
32
vm_setup_virtualbox
32
33
vm_running_vagrant
33
34
geonode_install/index
@@ -41,6 +42,9 @@ At the end of this section you will be able to setup from scratch the whole GeoN
41
42
:ref:`linux_admin_intro`
42
43
This section describes how to setup a Virtual Machine running Ubuntu.
43
44
45
+
:ref:`running_docker`
46
+
This section describes how to setup GeoNode on Docker
47
+
44
48
:ref:`geonode_install`
45
49
This section will guide the user through the steps necessary to install GeoNode on Ubuntu.
46
50
@@ -51,6 +55,7 @@ At the end of this section you will be able to setup from scratch the whole GeoN
51
55
52
56
:ref:`win_binary_installer`
53
57
Install GeoNode on Windows through the binary installer.
58
+
54
59
:ref:`network_configuration_issues`
55
60
This section will guide the user through the steps necessary to understand and possibly solve any of the most common configuration issues on communication between Django and GeoServer.
0 commit comments