Simon's scratch space / Oct 07 2019
Python Julia Image
pip install julia xlrd
JULIA_VERSION='1.2.0' tarArch='x86_64' dirArch='x64' JULIA_VERSION_SHORT=${JULIA_VERSION/-rc/} FILENAME="julia-${JULIA_VERSION}-linux-${tarArch}.tar.gz" FILEURL="https://julialang-s3.julialang.org/bin/linux/${dirArch}/${JULIA_VERSION_SHORT%[.-]*}/${FILENAME}" echo "Downloading ${FILEURL}." curl -fL -o julia.sha256 \ "https://julialang-s3.julialang.org/bin/checksums/julia-${JULIA_VERSION}.sha256" curl -fL -o julia.tar.gz.asc "${FILEURL}.asc" curl -fL -o julia.tar.gz "${FILEURL}" echo `grep $FILENAME julia.sha256 | cut -d " " -f1` > j256sig
JULIA_PATH='/usr/local/julia' mkdir -p "$JULIA_PATH" tar -xzf julia.tar.gz -C "$JULIA_PATH" --strip-components 1 rm julia.tar.gz j256sig
julia -e 'println(VERSION)'
julia -e 'using Pkg; pkg"up; add Hyperscript JSServe#master GeometryTypes https://github.com/SimonDanisch/ReactiveRuntime.jl.git https://github.com/JuliaPlots/WGLMakie.jl#sd-jsserve AbstractPlotting Observables#sd-extensions JSON"'
julia -e 'ENV["PYTHON"] = "python"; using Pkg; pkg"add PyCall;build PyCall"'
julia -e 'using Pkg; pkg"up; add Query FileIO PyCall Cassette CuArrays Flux GeometryTypes https://github.com/SimonDanisch/ReactiveRuntime.jl.git Observables#sd-extensions https://github.com/JuliaPlots/WGLMakie.jl#sd-jsserve AbstractPlotting CUDAnative CSV DataFrames Plots GR StatsPlots StatsBase BenchmarkTools Cxx"' pip install scipy numpy
julia -e 'using Pkg; pkg"dev VegaLite; add VegaDatasets"'
apt-get update apt-get install npm libpixman-1-dev libcairo2-dev libpango1.0-dev libjpeg-dev build-essential -y cd /root/.julia/dev/VegaLite/deps npm install canvas --build-from-source --production --no-package-lock --no-optional -y npm install --scripts-prepend-node-path=true --production --no-package-lock --no-optional -y
julia -e 'using Pkg; pkg"registry add https://github.com/mimiframework/MimiRegistry.git; add Mimi MimiDICE2013"'
import julia julia.install()
using WGLMakie, AbstractPlotting, JSServe scatter(rand(4))