GithubHelp home page GithubHelp logo

balat / docker-ocsigen-start Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dannywillems/docker-ocsigen-start

0.0 0.0 0.0 21 KB

Docker container for ocsigen-start.

License: GNU General Public License v3.0

docker-ocsigen-start's Introduction

Ocsigen Start

Start your mobile application entirely in OCaml with eliom.

Ocsigen Start is in development

What is Eliom?

Eliom is a framework for programming web sites and client/server web
applications.
It uses very new concepts making programming very different from all
other web programming tools, and allowing to write a complex web site
in very few lines of code. Both server and client parts of the program are
written in OCaml, as a single program.

Source: Ocisgen website

What is Ocsigen Start?

Ocsigen Start is a set of higher-level libraries for building client-server
web applications with Ocsigen (Js_of_ocaml and Eliom).

Source: [Ocsigen Start github reposity](https://github.com/ocsigen/Ocsigen Start)

What does this container contain?

This container uses ocaml/opam:debian image. It also installs PostgreSQL (needed by Ocsigen Start).

What does this container not contain?

This container has no Android SDK installed, given you the choice to use a volume if you have Android SDK installed on your machine. For the same reason, NodeJS, NPM and Cordova are not installed.

Useful volumes

  • A workspace for your eliom mobile project is created in the OPAM home. It is useful to share this repository to be able to use your development environment (such as your editor). Use

    docker run -it \
      -v /home/opam/workspace \
      dannywillems/docker-ocsigen-start
  • Such as said previously, Cordova, NodeJS and Android SDK are not installed to let you the choice to use your existing installation. Don't forget to add NPM packages repository to the container path as well as android_home variable.

    Start a new eliom mobile application

    Create a new container:

    docker run -it dannywillems/docker-ocsigen-start bash

    Update and upgrade (if needed) OPAM packages

    eval `opam config env`
    opam update && opam upgrade

    To create a new mobile eliom application in the workspace directory, use

    cd ~/workspace
    eliom-distillery -y -name eliom_is_awesome -template os.pgocaml

    The created project comes with an example. You can build it for Android with:

    make android

    To install and run the application on your Android smartphone, you can use

    make run-android

What about Cordova plugins?

A binding in OCaml using gen_js_api to Cordova plugins is done here.

docker-ocsigen-start's People

Contributors

dannywillems 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.