https://github.com/a-mhamdi/infodev
Julia for general purposes
https://github.com/a-mhamdi/infodev
docker docker-compose julialang jupyterlab pluto
Last synced: about 2 months ago
JSON representation
Julia for general purposes
- Host: GitHub
- URL: https://github.com/a-mhamdi/infodev
- Owner: a-mhamdi
- License: mit
- Created: 2023-11-19T12:05:32.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-30T16:00:53.000Z (about 2 years ago)
- Last Synced: 2023-11-30T23:34:35.186Z (about 2 years ago)
- Topics: docker, docker-compose, julialang, jupyterlab, pluto
- Language: Jupyter Notebook
- Homepage:
- Size: 207 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Julia for general-purpose applications

[](https://github.com/codespaces/new?hide_repo_select=true&ref=main&skip_quickstart=true&machine=standardLinux32gb&repo=720724444&devcontainer_path=.devcontainer%2Fdevcontainer.json&geo=EuropeWest)
[](https://github.com/a-mhamdi/infodev/actions/workflows/docker-image.yml)
[](https://hub.docker.com/r/abmhamdi/infodev)
This repository contains code samples for using `Julia` to implement some general-purpose algorithms.
## Prerequisites
Codes run on top of a `Docker` image, ensuring a consistent and reproducible environment.
> [!IMPORTANT]
>
> You will need to have `Docker` installed on your machine. You can download it from the [Docker website](https://hub.docker.com).
> [!NOTE]
> To run the code, you will need to first pull the `Docker` image by running the following command:
>
> ```zsh
> docker pull abmhamdi/infodev:isetbz
> ```
>
> This may take a while, as it will download and install all necessary dependencies. The basic way to start a container is:
>
> ```zsh
> docker run -p 6080:80 -v /dev/shm:/dev/shm abmhamdi/infodev:isetbz
> ```
## How to control the containers:
* ```docker-compose up -d``` starts the container in detached mode
* ```docker-compose down``` stops and destroys the container
Services can be run by typing the command `docker-compose up`. This will start the `Jupyter Lab` on [http://localhost:2468](http://localhost:2468) and you should be able to use `Julia` from within the notebook by starting a new `Julia` notebook. You can parallelly start `Pluto` on [http://localhost:1234](http://localhost:1234).