geosolutions-it / geonode-project

A django template project for creating custom GeoNode projects.
http://geonode.org
0 stars 5 forks source link

Align the check of first start between geonode-project and geonode #37

Closed giohappy closed 3 years ago

giohappy commented 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.

afabiani commented 3 years ago

ref. https://github.com/GeoNode/geonode-project/commit/919c32f14d79140b527f537dbb1222def0f24d54