[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Enhance your JlOps (= Julia + Python/Poetry + VSCode + JupyterLab + Docker + Pluto)

License

Notifications You must be signed in to change notification settings

terasakisatoshi/jldev_poetry

Repository files navigation

jldev_poetry

Enhance your JOps (= Julia + Python/Poetry + VSCode + JupyterLab + Docker + Pluto)

How to use

Prerequisite

  • Please install Git, GNU Make, Docker and Docker Compose.

Setup environment

$ git clone https://github.com/terasakisatoshi/jldev_poetry.git
$ cd jldev_poetry
$ make

After that go to the next chapter.

How to run

Initialize JupyterLab

$ docker-compose up lab

Dive into the Docker container

$ docker-compose run --rm shell bash
jovyan@e74b3f5d0d5e:/workspace/jldev_poetry.jl$ # do something awesome e.g. julia or python

Test

$ make test

Docs

$ docker-compose up web

Then, go to localhost:8000

Format file

docker-compose run --rm shell poe format

Update packages

  • Julia
$ docker-compose run --rm shell julia -e 'using Pkg; Pkg.add("Example")'
$ make # rebuild Docker image
  • Python
$ docker-compose run --rm shell poetry add "numpy"
$ make # rebuild Docker image

VSCode

  • Install VSCode in advance
$ cd /path/to/this/repository
$ code . # Open VSCode

Then dive into Remote Container.

Clean up

$ make clean

About

Enhance your JlOps (= Julia + Python/Poetry + VSCode + JupyterLab + Docker + Pluto)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published