Feature #924
openMulti instance capability
Description
Aim of this feature is to be able to install the OpenAtlas software once and use it for multiple projects (at the moment each project needs an own OpenAtlas instance).
Files and folders that have to be project specific and have to be solved:- WSGI file
- instance folder
- file folder
Updated by Alexander Watzinger over 7 years ago
- Status changed from Assigned to In Progress
Updated by Alexander Watzinger over 7 years ago
- Status changed from In Progress to Acknowledged
- Target version changed from 3.8.0 to Wishlist
Postponing because of new higher priority issues.
Updated by Alexander Watzinger over 7 years ago
- Assignee deleted (
Alexander Watzinger)
Updated by Alexander Watzinger almost 7 years ago
- Status changed from Acknowledged to Closed
- Target version deleted (
Wishlist)
Closing for now because this won't be implemented in the near future. Also some doubts about usefulness have surfaced e.g. if it's a good idea to have to update multiple, maybe very different projects, simultaneously.
Updated by Alexander Watzinger 12 months ago
- Description updated (diff)
- Status changed from Closed to In Progress
- Assignee set to Alexander Watzinger
- Target version set to 9.0.0
Reactivating this issue after 6 years. With the kind help of Birger (Plank) we managed to got it running with setting an environment variable in the openatlas.wsgi file (and runserver.py for local instances), see the feature/multi_instance branch.
There are still some issues like a hard coded path to find the application, like e.g.
sys.path.append('/usr/local/openatlas/')
Besides being 'hackish' this would also don't work because it is in Git tracked files (openatlas.wsgi and runserver.py).
Not sure what to do about that, using a system wide Python path isn't an option too because it would restrict using different versions of OpenAtlas (e.g. productive and development versions).
And of course everything has to be thoroughly checked and tested but it looks quite promising.
Another approach could be application dispatching, see: https://flask.palletsprojects.com/en/stable/patterns/appdispatch/#combining-applications
Updated by Alexander Watzinger 10 months ago
- Status changed from In Progress to Acknowledged
- Assignee deleted (
Alexander Watzinger)
Updated by Alexander Watzinger 3 months ago
- Target version changed from 9.0.0 to 9.3.0