The next time you want to use MiGA-Web, start Docker Desktop and wait until it is finished loading. Then open the terminal or PowerShell if you are using Windows and enter, one line at a time:
docker start miga
docker exec -it miga /bin/bash
cd miga-web/
export SECRET_KEY_BASE=`bundle exec rake secret`
bundle exec rails server -e production -b 0.0.0.0 -p 3000 Puma
Then start your browser and enter "localhost:9090" as the URL.
The first time you use MiGA-Web, you will be asked to create an account. You will need this accountinformation to access your results in subsequent sessions.
To shut down MiGA-Web, return to the terminal you used above, hold down the Ctrl key and type "C." Open a new terminal and enter:
docker stop miga
To start a local installation of MiGA, start Docker Desktop and wait until it is finished loading. Then open the terminal or PowerShell if you are using Windows and enter:
docker start miga
docker exec -it miga /bin/bash
cd miga-web/
When you are finished, enter:
exit
docker stop miga
In most cases you will run MiGA on a cluster by submitting jobs, but there are occasions to run it interactively. To do so, log in to the cluster and issue the following command from your home directory:
singularity shell MiGA
To stop using MigGA, simply enter:
exit