Replies: 3 comments
-
regarding 1: quoted from @giohappy
a foundation for a script that updates .env can be found here: https://gist.github.com/t-book/bfeaaa3b550558797b3c16567f8a5c88 |
Beta Was this translation helpful? Give feedback.
-
For the record: #471 |
Beta Was this translation helpful? Give feedback.
-
Is there a documentation on how to upgrade a geonode project (with docker) from a version to another (or even to apply updates from the same branch)? In my experience, I've used mainly two approaches to do version updates to geonode-projects:
I think that part of the problem is that geonode-project is not a template, but multiple templates (you need to choose the correct branch) with no supported strategy to move from one (branch) to another. The fact that a branch is used instead of a tag makes it even harder to know if your project is currently aligned with the remote branch, since there is no way to know from which commit your project was generated from. I would rather prefer a strategy that forces me to update my code if I want security patches and that provides a clear support on how to upgrade the template code, rather than having to jump from a branch to another. I would suggest using a template rendering tool like copier, which is stable, maintained and supports template updates after cloning. |
Beta Was this translation helpful? Give feedback.
-
During a recent conversation on the osgeo-list, the development community reached a consensus on the necessity to simplify the process of maintaining and upgrading installations built on the Geonode project framework. The aim is to enhance user experience and reduce complexities.
The discussion thread, available here, highlights several key considerations that are being explored:
Considered points are:
Streamlining .env File Upgrades: Developers are examining methods to detect changes and seamlessly upgrade the .env configuration file, ensuring that changes to environment variables are effectively implemented.
Efficiently Upgrading settings.py: The discussion also involves strategies to detect and manage changes in the settings.py file, and possibly even in the local_settings.py file. The goal is to minimize the need for modifications to the settings.py file unless absolutely necessary.
Other Considerations: Further points are also under consideration, with the intention of making the overall process smoother and more user-friendly.
Proposed Steps:
To move forward ...
The first step involves cataloging areas within the upgrade process that require enhancement
The next phase involves brainstorming solutions to address the identified issues.
Potential Funding Support:
On a related note, @gannebamm has expressed interest in potentially organizing funding to support these improvement efforts.
Beta Was this translation helpful? Give feedback.
All reactions