Skip to content

hfarias/caspyter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Caspyter BASE (CASA + Jupyter)

Install Caspyter on Docker


1.- Docker

The first step is install docker, docker is:

Docker is the world’s leading software container platform. Developers use Docker to eliminate “works on my machine” problems when collaborating on code with co-workers. Operators use Docker to run and manage apps side-by-side in isolated containers to get better compute density. Enterprises use Docker to build agile software delivery pipelines to ship new features faster, more securely and with confidence for both Linux and Windows Server apps. More info

To install follow the following instructions Download Docker Community Edition

After installation of docker, create a folder named CASPYTER and next run the next command in your terminal:

      docker run --name caspyter  -it -d \
      -v /rute/to/caspyter:/data \
      -p 8022:22 -p 8080:80 -p 8081:8081\
      -h caspyter ubuntu:14.04

It's time to access the container, run the next command in your terminal:

    docker exec -it caspyter /bin/bash

2.- Clone Caspyter/Casanova files

This project is base on Casanova project, before clone this project you must install git, copy and run (as root) the scrip install_caspyter.sh (in this repository /script/install_caspyter.sh)

3.- Start Caspyter

Firts go to caspyter user and restart bash variables

    su caspyter
    cd /home/caspyter
    source /home/caspyter/.bashrc

then got to the notebook folder and start caspyter

    cd /home/caspyter/notebook
    caspyter

Caspyter will show you this message:

Copy/paste this URL into your browser when you connect for the first time,
    to login with a token:
        http://0.0.0.0:8081/?token=908b0654058e58f6a81f4f54cf392f1a0f401f2da9d6cc62

Now you must replace 0.0.0.0 for localhost in you browser.

About

A radioAstronomy project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published