Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 844 Bytes

README.md

File metadata and controls

41 lines (30 loc) · 844 Bytes

Chapel Online

This is a GSoC 2017 demo for Chapel. It's a Web service that can compile Chapel on server remotely.

Update:

17/3/27 use Monaco Editor

17/3/28 fulfill streaming stdout

Prerequisites

  • Node.js

v6.10.1 is OK. It is recommended to install Node.js through nvm

  • Chapel environment

Follow the instruction here

Installing

git clone https://github.com/flyingpot/chapel_online
cd chapel_online
npm install
npm start

Test

The local server is running and type the following url:

localhost:3000

Deployment

If you want to make it listen to port 80.Do the following:

sudo iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 3000
sudo iptables-save