Closed olgabot closed 4 years ago
Excellent, we'll add this once @mikkonie is back in office.
Hello,
Please excuse that I am commenting again, as I hope that my issue is related enough to this one. An example workflow would be very helpful. Specifically, once I get sodar_django_site up and running and log in, I am not sure what to do!
I have read through the documentation, and am pretty sure that I I create a category, then a project, then invite a user. However, I'm struggling to find step by step instructions for a new site. The examples under Usage show a site already populated with projects.
Thank you, Rebecca
Hi @rbatorsky no, that's an excellent question (as this indicates that the documentation needs improvement, so far we've locally had @mikkonie walk us through things and have not had an external user). However, I'm not 100% positive that I understand what you mean. Maybe the nomenclauture in the documentation could be confusing if you're new to the system.
The word "site" is used in the following contents in the documentation page that you linked to:
Django site
-- Your django "web app" that uses SODAR-core (what you created in your derived/modifeid copy of sodar_django_site).their LDAP/AD credentials from a supported site
-- An LDAP/ActiveDirectory server/domain.admin site
-- The django administration UI.site-wide apps
-- A kind of "SODAR Core" app that, in contrast to "project apps" is not bound to a specific project but has "installation-wide scope" of "site" (the "django web app" from above)site info
-- Information about your installation, a site-wide app.When setting up a new site
-- Your installation.Remote Site Access
/source site
/target site
-- As explained in the documentation, you can have the installation of a SODAR-based web application marked as "target" that can then sync over projects, roles, and user information from a "source" instance of a SODAR-based web application. One of the very nice features is that this does not have to be the same source code but you can actually have a "central data repository app" that is the source and then "specialized satellite apps" that are connected upstream and sync the projects that they are allowed to. We are using this feature for setting up a central "SODAR" instance with Omics data and meta data (to be published once it's complete but that might take some months) and then, e.g., have a dashboard hosting web app and a variant filtration web app syndicating information.[If I'm misrepresenting anything here, I'm certain @mikkonie will correct me when he's back.]
I hope this comment helps. I'm agreeing that the documentation can be improved here, maybe with a more step-by-step workflow. We'll go back to our text editors and think how we could improve this. In the meantime, are you lacking any information to proceed in your review right now?
Thank you again for your reply. My usage of the word site is the first of the ones you listed: Django site
. I look forward to reading the updated documentation so that I can complete the final steps of the review.
Hi @rbatorsky. As @holtgrewe said, you raise very good points here. Next week I'll be working on improving the documentation from this perspective.
So far I've identified the following improvements which should help with this issue:
Please let me know if you would also like to see something else to help in clarifying these issues.
@olgabot and @rbatorsky: I've updated the documentation in an attempt to clarify the issues raised here.
I hope this is helpful with the issue at hand, please let me know if I should improve the docs regarding these questions.
Hello, I've gone through the documentation and found it helpful. Thanks.
Thank you for this! Unfortunately this is not enough for a Django newbie like me. I was able to install the package just fine using the pip install
command on the Getting Started page and from there I see I need to configure the projectroles
app but I don't understand what command to run. E.g. I see django-sodar-core
referenced several times but can't tell if this is a command to run, and it seems like it is not:
(sodar_core)
♥ 30% Fri 1 Nov - 18:48 ~
django-sodar-core
zsh: command not found: django-sodar-core
Would it be possible to add a full use case with all the commands and their outputs, e.g. for the servers you have already set up?
@olgabot: I'm sorry the context of the package remains unclear. It is indeed a complex issue for someone not used to working with the Django framework.
In the Django ecosystem, it is commonplace to have packages which provide additions to the base web framework, either in form of applications, middleware or both. django-sodar-core
refers to the SODAR Core package, which is installed on top of a Django web site project in the aforementioned manner. It is a set of enhancements over the base Django web framework aimed at developing web based systems for scientific research projects.
Hence the package is not usable by itself, but is expected to be installed to an existing Django web site project. An example of a minimal Django project with the web framework and the django-sodar-core package installed can be seen in the sodar_django_site project. On top of this, the actual research project applications are developed.
As I mentioned here, we have several systems using the package for actual scientific apps. Those would provide a view to the entire use case for using this package, but sadly publications on them are still pending.
One possibility would be to develop a demo application, which represents e.g. an analysis process and how it would be implemented on SODAR Core. In case this would sound like a good approach, anything more specific you would be looking for in such an application?
Dear @olgabot and @rbatorsky, thanks for raising these points. As pointed out in #6, we now provide a section that gives the precise commands to setup a sodar-core site based on the template that we provide:
Please have a look at this whether it addresses all of your questions and points. Please re-open this issue if you feel that we left a point unanswered and this could use some more work.
In reading the JOSS paper and looking over the repo, it seems extremely useful, and I'm having trouble forming in my mind an explicit example workflow using SODAR core. Would it be possible to add an example workflow in either a diagram or prose format? e.g. "SODAR core can be used to upload CSVs from plate readers, manage Illumina samplesheets from these samples, and link them to their sequencing data and results." (I just made this one up). Or something like a "user story" format would be great, too.
RE: https://github.com/openjournals/joss-reviews/issues/1584
Thank you! Warmest, Olga