Coder Social home page Coder Social logo

coursewarehub-lc_deploy's Introduction

CoursewareHub-LC_deploy

CoursewareHubの構築notebook

AWS上に、CoursewareHubの運用管理用のOperationHubと、CoursewareHubを構築するnotebookです。

構築方法

最初にDocker Engineとdocker-composeがインストールされた環境が必要です。

以下のような流れで構築します。

  1. Notebookサーバーの起動
  2. そのNotebookサーバーを使用して、OperationHubを構築
  3. 構築したOperationHubを使用して、CourseareHubを構築

Notebookサーバーの起動

このリポジトリをcloneし、以下のように、Notebookサーバーを起動します。

sudoの有無は環境に応じて読み替えてください。

$ git clone https://github.com/NII-cloud-operation/CoursewareHub-LC_deploy
$ cd CoursewareHub-LC_deploy
$ sudo docker-compose up --build

以下のようなログが出力されます。

jupyter_1  | [C 08:07:38.436 NotebookApp]
jupyter_1  |
jupyter_1  |     To access the notebook, open this file in a browser:
jupyter_1  |         file:///home/jovyan/.local/share/jupyter/runtime/nbserver-7-open.html
jupyter_1  |     Or copy and paste one of these URLs:
jupyter_1  |         http://e6fe59168280:8888/?token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
jupyter_1  |      or http://127.0.0.1:8888/?token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

http://127.0.0.1:8888/?token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx にアクセスします。

ローカルホスト以外で起動した場合は、ホスト名は読み替えてください。

OperationHubの構築

Notebookサーバーにログインしたら、「D01_OperationHubをAWSに構築.ipynb」を実行し、OperationHubを構築します。

CoursewareHubの構築

構築したOperationHubにログインし、以下のNotebookを順に実行して、CoursewareHubを構築します。

  1. D01_CoursewareHub用VMをAWSに作成.ipynb
  2. D02_CoursewareHubインベントリの準備.ipynb
  3. D03_NFSの準備.ipynb
  4. D04_Docker Swarmの準備.ipynb
  5. D05_CoursewareHubの準備.ipynb

「D06_CoursewareHubコンテンツの配備.ipynb」は、構築したCoursewareHub上で実行してください。

coursewarehub-lc_deploy's People

Contributors

shingo78 avatar yacchin1205 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.