Skip to content

ShipMMG/shipmmg_control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shipmmg_control

This repository is just for testing MPC control of ShipMMG.

How to use

By using docker-compose.yml

  1. Install Docker in your PC.

  2. Install Docker Compose in your PC.

  3. Get this repository.

    $ git clone https://github.com/shipmmg/shipmmg_control.git 
  4. Build.

    $ cd shipmmg_control
    $ docker-compose build # --no-cache if nessecary
  5. Run.

    $ docker-compose up
  6. Access http://localhost:8888/

    • Default access token is shipmmg_control. Please change this access token by editing Dockerfile.

By using Dockerfile

  1. Build & Run

    • Run and Save the notebooks on your current directory in your Linux or MacOS PC

      $ docker build -t shipmmg-control . # --no-cache should be added after updating Dockerfile
      $ docker run --rm --name shipmmg-control -d -p 8888:8888 -v $(pwd)/notebooks:/notebooks -w /notebooks shipmmg-control jupyter-lab --no-browser --port=8888 --ip=0.0.0.0 --allow-root --NotebookApp.token='shipmmg_control'
    • Run and Save the notebooks on your current directory in your Windows PC

      $ docker build -t shipmmg-control . # --no-cache should be added after updating Dockerfile
      $ docker run --rm --name shipmmg-control -d -p 8888:8888 -v ${pwd}/notebooks:/notebooks -w /notebooks shipmmg-control jupyter-lab --no-browser --port=8888 --ip=0.0.0.0 --allow-root --NotebookApp.token='shipmmg_control'
  2. Access http://localhost:8888/

    • Default access token is shipmmg_control. Please change this access token.
  3. Kill image after finishing.

    $ docker kill shipmmg-control

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors