The service receives a some programs, compiles and run the program inside LXC Container, then return the output.
$ 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
$ cd backend/
(backend) $ glide install
(backend) $ ./server # or go run server.go
(frontend) $ npm start
- Supoort other languages
- Logging to DB