Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

🔮 Container-based remote code runner. / 基于容器的远程代码运行器

License

Notifications You must be signed in to change notification settings

wuhan005/Elaina

Repository files navigation

Container-based remote code runner.

简体中文

Start

Step 1: Install dependencies

Step 2: Pull internal docker images

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

docker pull glot/php:latest
docker pull glot/python:latest
docker pull glot/golang:latest
docker pull glot/javascript:latest
docker pull glot/c:latest

Step 3: Build and start the Elaina server

Build Elaina

git clone git@github.com:wuhan005/Elaina.git
# Build frontend
cd frontend/ && yarn install && yarn build
# Build backend
go build .

Set environment variables.

export APP_PASSWORD=<REDACTED>
export RUNTIME_MODE=docker
export POSTGRES_DSN=postgres://postgres:<REDACTED>@127.0.0.1:5432/elaina

Run the Elaina server.

./Elaina

Step 4: Have fun!

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

License

MIT License

About

🔮 Container-based remote code runner. / 基于容器的远程代码运行器

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

AltStyle によって変換されたページ (->オリジナル) /