Code Monkey home page Code Monkey logo

ariaracer's People

Contributors

raequin avatar

Watchers

 avatar

Forkers

raequin

ariaracer's Issues

Use Git for Build Server interface

A good idea may be to spin up a container that pulls from the user's git repo to build and run the code. That is each user will have his or her own docker container that will be rebuilt each time a user uploads his/her code. Then to run a race we simply boot up the necessary docer containers.

Fix Skel Dir

  • Remove test Aria project
  • add .gitignore for build directory

Create Stop watch for a race

Add race times for the lanes that are racing.

  • start the clocks when start is pressed.
  • stop the clocks when the lane is stopped.

Might as well add the stats to the racer's build (show fastest race time for each build).

Create Mongo Layer

The Mongo layer needs to be created. We'll need documents for

  • Uname
  • Passwd
  • Racer Id
  • Racer source code
  • Tournaments
  • Match info
    • Racers and times
    • Winner
    • Date

Create Backend Layer of Web Server

The backend layer of the webserver needs to be created.

  • Move base types created in Pages.Types to Data.Racer
  • Create data operations (CRUD tournaments, races, etc).

Handle Script Error Cases

If a script fails to run:

  • grab the cooresponding script log
  • return a script failed page with log information.

Create Race Manager

Create the race manager front and back ends:

Front end

Front end will exist on the admin/home page

  • 1 start button
  • 2 racer stop buttons
  • 1 all stop button
  • return to race manager button

Backend

Backend will have the following scripts:

  • Start a race and save the executable PIDs to a file
  • A stop script that takes a list of lanes to stop. The corresponding PID is then terminated.

Change upload/select Script Module to build code

Have the upload/select form build the code.

Each process continues if the build succeeds (code is committed).
Otherwise, the repo is reset to the previous branch (handled by the build script) and an error page is returned with:

  1. The build log so the user can fix compile-time errors
  2. A link to their home page.
  3. A message telling the user to fix their code and try the upload again.

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.