Giter Site home page Giter Site logo

anniyanvr / feedbacksystem Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thm-mni-ii/feedbacksystem

0.0 1.0 0.0 8 MB

License: Other

Scala 46.04% JavaScript 0.52% TypeScript 22.20% HTML 7.65% Dockerfile 0.21% Shell 0.32% Python 3.43% Perl 1.06% C 10.19% Makefile 1.19% PLSQL 0.99% C++ 0.62% Lex 2.90% Roff 0.76% SCSS 1.92%

feedbacksystem's Introduction

Feedbacksystem Build Status License: CC BY-NC-SA 4.0

As a student you have to submit a lot of tasks for your lectures. Usually the only reply you get is that you passed or failed. This is a situation we want to change. Feedbacksystem is an application to automatically check your submissions and give an immediate result. With the result we want to provide suggestions to the students about their mistakes, collect the most common mistakes and present them to the lecturers such that they can address them in the lectures.

Getting it Running for Production

TODO:

Getting it Running for Development

First you have to install some dependencies.

  • Java JDK 14+ (e.g., OpenJDK 14)
  • Gradle 6.4.1+ (a gradlew wrapper is included in the project)
  • Node 13.8.0+
  • NPM 6.13.7+
  • Docker 19.03.8+
  • Scala 2.12.8 (your IDE might install it automatically if using an scala plugin)

After getting your dependencies installed download and import this repository in your favourite IDE (e.g., InteliJ IDEA Ultimate). The Feedbacksystem is a distributed system. Use a terminal and build the whole system by executing ./gradlew dist once. After a successfull build run docker-compose up -d to run every part of the system and check it by executing docker-compose ps. You should see something like the following.

               Name                              Command                State                          Ports                      
----------------------------------------------------------------------------------------------------------------------------------
feedbacksystem_bashenv_1              docker-entrypoint.sh /bin/ ...   Exit 127                                                   
feedbacksystem_kafka1_1               /app-entrypoint.sh /run.sh       Up         0.0.0.0:29092->29092/tcp, 0.0.0.0:9092->9092/tcp
feedbacksystem_mysql1_1               docker-entrypoint.sh --def ...   Up         0.0.0.0:3308->3306/tcp, 33060/tcp               
feedbacksystem_mysql2_1               docker-entrypoint.sh --def ...   Up         0.0.0.0:3309->3306/tcp, 33060/tcp               
feedbacksystem_nodeenv_1              docker-entrypoint.sh node        Exit 0                                                     
feedbacksystem_secrettokenchecker_1   ./secrettoken-checker            Up         2375/tcp, 2376/tcp                              
feedbacksystem_sqlchecker_1           ./sql-checker                    Up                                                         
feedbacksystem_ws_1                   ./wsd                            Up         0.0.0.0:443->8080/tcp                           
feedbacksystem_zoo1_1                 /app-entrypoint.sh /run.sh       Up         0.0.0.0:2181->2181/tcp, 2888/tcp, 3888/tcp  

Note that bashenv and nodeenv exited with some status code and are not running. This behaiviour is intended (do not try to fix it.) These parts of the system are started on demand if neccessary.

At this point the system is up and running. To modify one part of the system, e.g., ws, we recommend to lookup its container id (with docker ps), kill it (with docker kill the-id) and start ws locally with your IDE to be able to use the IDE debugger and restart the system fast.

feedbacksystem's People

Contributors

bees4ever avatar andrej-sajenko avatar punchparty93 avatar vlad-sokyrsky avatar dependabot[bot] avatar zitrone44 avatar hwng38 avatar frankkammer avatar kimiannalena avatar mxsph avatar

Watchers

James Cloos 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.