Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 1.72 KB

README.md

File metadata and controls

39 lines (31 loc) · 1.72 KB

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)