Giter Club home page Giter Club logo

salome-docker-start's Introduction

salome-docker-start

Docker上でSALOMEの開発環境を構築するためのリポジトリ

Macの場合

XQuartzを事前にインストールして起動してください。

XQuartzのネットワーククライアントからの接続を許可を有効化 XQuartz >> 環境設定 >> セキュリティ

image

リポジトリのクローン

$ git clone https://github.com/matsubaraDaisuke/salome-docker-start.git

ローカルのIPアドレスの取得

$ make IP
>> IP address: 192.168.x.xx

iglxの有効化

$ defaults write org.macosforge.xquartz.X11 enable_iglx -bool true

X サーバへの接続が許可されるホスト名とユーザ名をリストに追加

$ xhost +192.168.x.xx

docker-compose.ymlの環境変数(environment)を修正します

services:
    salome:
      container_name: salome
      build: ./docker/salome
      #tty: true
      environment:
        - DISPLAY=192.168.x.xx:0.0 <- HERE Edit! 
      volumes:
        - ./develop:/home/salome
        - /tmp/.X11-unix:/tmp/.X11-unix 

ビルドと起動

$ docker-compose up --build
$ docker-compose run salome /bin/bash

Salomeの起動

# salome

image

salome-docker-start's People

Contributors

matsubaradaisuke avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.