Closed giohappy closed 3 years ago
GeoNode uses the geonode_init.lock file to check if it's a first start or not, while geonode-project checks the IS_FIRST_START env var.
We want geonode-projec to use the lock file, since relying on the env var is dangerous (nobody changes it after the first run).
On the other side we want to port the usage of FORCE_REINIT to GeoNode, since it's useful in case of a hard reset.
ref. https://github.com/GeoNode/geonode-project/commit/919c32f14d79140b527f537dbb1222def0f24d54
GeoNode uses the geonode_init.lock file to check if it's a first start or not, while geonode-project checks the IS_FIRST_START env var.
We want geonode-projec to use the lock file, since relying on the env var is dangerous (nobody changes it after the first run).
On the other side we want to port the usage of FORCE_REINIT to GeoNode, since it's useful in case of a hard reset.