Skip to content

mrtc0/salieri

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Salieri


About

The service receives a some programs, compiles and run the program inside LXC Container, then return the output.

Salieri Image

Setup

LXD(@ubuntu)

$ sudo add-apt-repository ppa:ubuntu-lxc/lxd-git-master && sudo apt-get update
$ sudo apt-get install lxd
$ newgrp lxd
$ sudo lxd init
$ lxc launch images:debian/stretch <ContainerName>
$ lxc exec <ContainerName> /bin/bash
(Container)$ apt-get install gcc clang build-essential

Salieri

$ cd backend/
(backend) $ glide install

Play

(backend) $ ./server # or go run server.go
(frontend) $ npm start

Issue

  • Supoort other languages
  • Logging to DB