Giter VIP home page Giter VIP logo

elaina's Introduction

Elaina Go Go Report Card Docker Image Size (latest by date) Docker Image Version (latest by date)

Docker-based remote code runner.

简体中文

Start

Step 1: Install dependencies

Step 2: Build internal docker images

The docker/images/ folder provides the Dockerfile of the programming language runtime environment that Elaina supports.

Use docker build command to build the images before you start running the Elaina. This operation only needs to be performed once.

docker build . -t elaina-<lang>:latest

Step 3: Start the Elaina server

Put the docker-compose.yml file in your working directory.

Edit APP_URL APP_PASSWORD APP_CONTAINER_PATH in docker-compose.yml!!

  • APP_URL Your backend service host, used to set the allow origins header in HTTP CORS header.
  • APP_PASSWORD The password used to log in the manager panel.
  • APP_CONTAINER_PATH The path where the containers' volumes are placed in your host, make sure the Docker has the correct permission to access.

The following command will create a PostgreSQL database as well as the Elaina server.

docker-compose up -d

Step 4: Have fun!

Visit http://<your-host>:8080/m/ to login to the manager panel.

License

MIT

elaina's People

Contributors

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