A safe program compiler & executor base on Docker.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
.travis.yml
API.md
LICENSE
README.md
build.gradle
settings.gradle

README.md

Avalon-Executive GNU Affero General Public License, version 3

Build Status CircleCI

A safe program compiler & executor base on Docker.

Deployment

Outdated, new version come out soon.

  1. Prepare environment and build C++ part:

    On Linux (Not test):

    1. Run commands:
    sudo apt-get install g++ docker
    sudo docker -H 127.0.0.1:2375 -d &
    cd SOURCE_CODE_PATH/src/main/cpp
    sudo ./test.sh
    mv sandbox SOURCE_CODE_PATH/docker
    

    On Windows 10 Pro, Enterprise or Education, build >= 10586:

    1. Download and install Docker for Windows.
    2. Enable "Expose daemon on tcp://localhost:2375 without TLS" in setting of Docker.
    3. Download and install Cygwin.
    4. Install Pending packages, and package gcc-core, gcc-g++.
    5. Run commands in Cygwin:
    cd SOURCE_CODE_PATH/src/main/cpp
    g++ --static -pthread -o sandbox sandbox.cpp
    mv sandbox SOURCE_CODE_PATH/docker
    
  2. Download newest RELEASE. (If no release, see Build)

  3. Execute file.

Build

  1. Build C++ part. (See Usage / Prepare environment and build C++ part)
  2. Build / Execute Java / Scala part. (ray.eldath.avalon.executive.main.MainServer)