From 062f49b82e26fbc1b43b94a1e767674144bde9c9 Mon Sep 17 00:00:00 2001 From: Shahryar Tayeb Date: Sun, 26 May 2024 08:51:20 +0430 Subject: [PATCH] backup WIP --- src/geodb/views.py | 2 +- src/manage.sh | 2 +- src/my_geonode/br/settings_docker.ini | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/geodb/views.py b/src/geodb/views.py index 6e7eb47db..f691c1fc0 100644 --- a/src/geodb/views.py +++ b/src/geodb/views.py @@ -38,7 +38,7 @@ # FIXME do not use absolute paths # It gives error in the local environment -os.chdir(r'/home/ubuntu/data/GLOFAS/alerts/') +# os.chdir(r'/home/ubuntu/data/GLOFAS/alerts/') def get_db_connection(): diff --git a/src/manage.sh b/src/manage.sh index 0cf71672f..83d5c48b4 100755 --- a/src/manage.sh +++ b/src/manage.sh @@ -1,2 +1,2 @@ . $HOME/.override_env -/usr/local/bin/python /usr/src/my_geonode/manage.py $@ +/usr/bin/python /usr/src/my_geonode/manage.py $@ diff --git a/src/my_geonode/br/settings_docker.ini b/src/my_geonode/br/settings_docker.ini index baed5c9a3..068c62c9e 100644 --- a/src/my_geonode/br/settings_docker.ini +++ b/src/my_geonode/br/settings_docker.ini @@ -8,5 +8,5 @@ dumpvectordata = yes dumprasterdata = yes [fixtures] -apps = contenttypes,auth,people,groups,account,guardian,admin,actstream,announcements,avatar,base,dialogos,documents,geoserver,invitations,pinax_notifications,layers,maps,oauth2_provider,services,harvesting,sites,socialaccount,taggit,tastypie,upload,user_messages,geonode_themes,geoapps,favorite,geonode_client -dumps = contenttypes,auth,people,groups,account,guardian,admin,actstream,announcements,avatar,base,dialogos,documents,geoserver,invitations,pinax_notifications,layers,maps,oauth2_provider,services,harvesting,sites,socialaccount,taggit,tastypie,upload,user_messages,geonode_themes,geoapps,favorite,geonode_client +apps = contenttypes,auth,people,groups,account,guardian,admin,actstream,announcements,avatar,base,documents,geoserver,invitations,pinax_notifications,layers,maps,oauth2_provider,services,harvesting,sites,socialaccount,taggit,tastypie,upload,user_messages,geonode_themes,geoapps,favorite,geonode_client +dumps = contenttypes,auth,people,groups,account,guardian,admin,actstream,announcements,avatar,base,documents,geoserver,invitations,pinax_notifications,layers,maps,oauth2_provider,services,harvesting,sites,socialaccount,taggit,tastypie,upload,user_messages,geonode_themes,geoapps,favorite,geonode_client