Giter Site home page Giter Site logo

mathics-dockerized's Introduction

Mathics Dockerized

About

This is a dockerized environment for rebcabin's fork of mathics:

A free, light-weight alternative to Mathematica.

How it works

This environment runs through an entrypoint that supports two modes:

PROJECT_ROOT/app/data folder will be mapped to /usr/src/app/data inside docker container. All files in that folder are shared between host and container.

web-ui mode and command-line mode can run simultaneously in two separate docker containers. Simply run container in one mode first and another container in the other mode.

docker-compose

docker-compose will pull all necessary images and build the target image automatically before the first run.

command-line

$ cd PROJECT_ROOT
$ docker-compose run --rm mathics --mode cli

web-ui

$ cd PROJECT_ROOT
$ docker-compose run --service-ports --rm mathics --mode ui

Mathics server will be available at http://localhost:8000

docker

Target image has to be built manually with bare docker.

building

$ cd PROJECT_ROOT
$ docker build -t rebcabin/mathics app

running command-line

$ docker run --rm -it --name rebcabin-mathics -v PROJECT_ROOT/app/data:/usr/src/app/data rebcabin/mathics --mode cli

running web-ui

$ docker run --rm -it --name rebcabin-mathics -p 8000:8000 -v PROJECT_ROOT/app/data:/usr/src/app/data rebcabin/mathics --mode ui

Mathics Documentation

To access documentation, start in web-ui mode, open http://localhost:8000 in a browser and start searching.

mathics-dockerized's People

Watchers

Brian Beckman avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.