Skip to content

Files

Latest commit

 

History

History
50 lines (43 loc) · 2.32 KB

README.org

File metadata and controls

50 lines (43 loc) · 2.32 KB

Scalaプログラミング入門

はじめに

Scala プログラミング入門用の Jupyter ノートブック (Almond Scala kernelを利用)を提供している. 以下のURLをクリックするとWebブラウザ上で実行できる!

自分用のBinderサイトの作り方

  1. Visit https://github.com/tamura70/scala-introduction and download ZIP file
    • You will download scala-introduction-master.zip file.
  2. Unzip the downloaded file and rename the folder name as you like.
    • Say scala-test
  3. Create your public repository on GitHub
    • Say https://github.com/XXXXX/scala-test (XXXXX is your ID)
  4. Run some commands on your machine to update your GitHub repository
    cd scala-test
    git init
    git add .
    git commit -m "First commit"
    git remote add origin https://github.com/XXXXX/scala-test.git
    git push -u origin master
        
  5. Create your Binder site
    • Access Binder with Firefox or Chrome
    • Enter your GitHub repository name (say, XXXXX/scala-test)
    • Copy the URL to access your Binder site later
    • Click “launch” button
    • Wait for a while. Your browser will be redirected after the docker image is created.
  6. Modify/create Jupyter notebooks as you like in your browser!
  7. Download your notebooks into scala-test directory
    • Otherwise, your work will disappear in vain!
  8. Reflect your changes to the repositry
    git add .
    git commit -m "Modify notebooks"
    git push
        
  9. Access your Binder site again
    • The docker image will be recreated automatically (this will also take a time)
    • Appending ?urlpath=lab to the URL gives a better GUI

Credits/Links

Binderのセットアップスクリプトは Almond Examples から入手した.