Skip to content

Latest commit

 

History

History
55 lines (37 loc) · 1.47 KB

starting-miga.md

File metadata and controls

55 lines (37 loc) · 1.47 KB

Starting and Stopping MiGA

Starting Local Miga-Web

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

Starting Local MiGA-CLI

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

Starting MiGA-Singularity

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