Pandora-IsoMemo / drat

R packages developed in the Pandora IsoMemo project
0 stars 0 forks source link

Create scripts to start several apps simultaneously #24

Open arunge opened 1 year ago

arunge commented 1 year ago

@arunge waiting on the script options as we discussed

Originally posted by @isomemo in https://github.com/Pandora-IsoMemo/drat/issues/18#issuecomment-1447973918

arunge commented 1 year ago

Scripts for docker containers

Currently:

Plan: one terminal for all apps

To start several docker containers and use one terminal for all apps:

When running in background,

We can prepare scripts that contain basic docker commands

Idea:

isomemo commented 1 year ago

@arunge can one use IF conditions in Docker? If, so why cannot we give a list of apps to the user (e.g., 1 PlotR, 2 BMSC, ...). If the user select 2 a stop command is executed (even if no app is running in the background) and then a command is executed to launch BMSC. In this way, you would not need to run all apps in the background.

jan-abel-inwt commented 1 year ago

Hello @isomemo,

I've prepared the initial draft of this bash script. Could you please advise on where it should be made accessible to users?

Including it in the wikis for copying and pasting purposes might not be the most efficient strategy, given the script's length, which exceeds already 100 lines. This could make the process quite burdensome.

As an alternative, I propose creating a new repository, potentially titled Pandora-IsoMemo-helpers. This could also serve as a future location for similar scripts, such as the Windows version of this script.

What are your thoughts on this?

jan-abel-inwt commented 11 months ago

I created a new repository https://github.com/Pandora-IsoMemo/HelperScripts

There you can find the first draft of the script to start several docker container.

arunge commented 11 months ago

As discussed, we will update the name of the repository "HelperScripts" to "all-in-one-apps". Blank spaces are not allowed in repository names.