Coder Social home page Coder Social logo

r-verifier's Introduction

R-verifier

A Linux based verifier for the R language. This project allows R code to be submitted to the web server via POST and allows the output to be verified and tested. This project is intended for an open lab setting as a public computing appliance.

Installation Instructions

To install this project on Amazon's Elastic Computing Cloud (EC2), perform these steps:

  1. Launch new Ubuntu 12.04 image
  2. Connect via SSH using public/private keys
  3. Install neccessary packages with: sudo apt-get install nginx r-base-core python-setuptools git-core
  4. Install web.py python package: sudo easy_install web.py
  5. Get latest assets: git clone git://github.com/jpelster/R-verifier.git
  6. Copy config for nginx: sudo cp R-verifier/conf/nginx/default /etc/nginx/sites-available/default
  7. Make working directory: mkdir /tmp/R-verifier
  8. Update perms: chmod 777 /tmp/R-verifier
  9. Change group: sudo chgrp www-data /tmp/R-verifier
  10. Make sure group can always read: chmod g+s /tmp/R-verifier
  11. Restart nginx: service nginx restart
  12. Start R backend server: cd R-verifier; nohup python R-verifier.py > /tmp/R-verifier.log 2>&1 &
  13. Load public URL in browser: [example: http://ec2-aa-bb-ccc-ddd.compute-1.amazonaws.com]
  14. Have fun!

Known Issues

If left unchecked, the /tmp partition will get full. A cron job that regularly deletes old files will be neccesary to prevent this problem.

r-verifier's People

Contributors

jpelster avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.