Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/terasakisatoshi/jldev_poetry
Enhance your JlOps (= Julia + Python/Poetry + VSCode + JupyterLab + Docker + Pluto)
https://github.com/terasakisatoshi/jldev_poetry
docker julia jupyterlab pluto python vscode
Last synced: 17 days ago
JSON representation
Enhance your JlOps (= Julia + Python/Poetry + VSCode + JupyterLab + Docker + Pluto)
- Host: GitHub
- URL: https://github.com/terasakisatoshi/jldev_poetry
- Owner: terasakisatoshi
- License: mit
- Created: 2021-12-12T10:09:28.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-20T18:38:02.000Z (8 months ago)
- Last Synced: 2024-10-11T12:41:06.560Z (about 1 month ago)
- Topics: docker, julia, jupyterlab, pluto, python, vscode
- Language: Dockerfile
- Homepage:
- Size: 235 KB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```console
$ 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
```console
$ docker-compose up lab
```## Dive into the Docker container
```console
$ docker-compose run --rm shell bash
jovyan@e74b3f5d0d5e:/workspace/jldev_poetry.jl$ # do something awesome e.g. julia or python
```## Test
```console
$ make test
```## Docs
```console
$ docker-compose up web
```Then, go to localhost:8000
## Format file
```console
docker-compose run --rm shell poe format
```## Update packages
- Julia
```console
$ docker-compose run --rm shell julia -e 'using Pkg; Pkg.add("Example")'
$ make # rebuild Docker image
```- Python
```console
$ docker-compose run --rm shell poetry add "numpy"
$ make # rebuild Docker image
```## VSCode
- Install VSCode in advance
```console
$ cd /path/to/this/repository
$ code . # Open VSCode
```Then dive into Remote Container.
## Clean up
```console
$ make clean
```