Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 1 month 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 (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-30T16:00:53.000Z (12 months ago)
- Last Synced: 2023-11-30T23:34:35.186Z (12 months 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
![Julia](https://raw.githubusercontent.com/a-mhamdi/infodev/main/Codes/Julia.png)
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](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)
[![Docker Image CI](https://github.com/a-mhamdi/infodev/actions/workflows/docker-image.yml/badge.svg)](https://github.com/a-mhamdi/infodev/actions/workflows/docker-image.yml)
[![Docker Version](https://img.shields.io/docker/v/abmhamdi/infodev?sort=semver)](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.
You will need to have `Docker` installed on your machine. You can download it from the [Docker website](https://hub.docker.com).
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 containerServices 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).