https://github.com/flyingpot/chapel_online
a GSoC 2017 demo for Chapel Online project
https://github.com/flyingpot/chapel_online
chapel demo gsoc-2017
Last synced: 5 months ago
JSON representation
a GSoC 2017 demo for Chapel Online project
- Host: GitHub
- URL: https://github.com/flyingpot/chapel_online
- Owner: flyingpot
- Created: 2017-02-25T08:07:49.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-28T09:41:55.000Z (about 8 years ago)
- Last Synced: 2024-10-25T09:48:00.833Z (7 months ago)
- Topics: chapel, demo, gsoc-2017
- Language: JavaScript
- Homepage: http://fanjingbo.com
- Size: 29.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://github.com/creationix/nvm)
- Chapel environment
Follow the instruction [here](http://chapel.cray.com/docs/latest/usingchapel/QUICKSTART.html)
## Installing
```bash
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:
```bash
sudo iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 3000
sudo iptables-save
```