GithubHelp home page GithubHelp logo

riddler's Introduction

Riddler README

Riddler is a web application that can help recruiters to do job interview technical tests. Riddler provides an administration zone to enter questions and create tests, and a test zone for applicants.

Features

  • NOT a multiple choice, the candidate have to type the answer
  • Once opened, a question must be answered, the candidate can't open multiple questions at a time and can't answer in the order he wants
  • Each answer is timed, so you can see if the applicant has stuck on a question
  • A test can be time limited

Setup

Riddler is packaged for the Debian Wheezy distro, but since its a standard Django application, it should be easy to install it on any other distro.

Install the Riddler package

Add this lines in your /etc/apt/source.list file:

deb http://debian.tecknet.org/debian wheezy tecknet
deb-src http://debian.tecknet.org/debian wheezy tecknet

Add the Tecknet repositories key in your keyring:

# wget http://debian.tecknet.org/debian/public.key -O - | apt-key add -

Update and install the riddler package:

# aptitude update
# aptitude install riddler

The installation procedure will configure the database (SQLite by default) and collect all static files in the /var/lib/riddler/ directory.

Configure Gunicorn

The next step is to configure gunicorn to serve the riddler application: in the /etc/gunicorn.d/ directory, copy the riddler.example file to riddler:

# cd /etc/gunicorn.d
# cp riddler.example riddler

You can customize the file to add or change Gunicorn options such as the http listening port (by default 9001) or the number of workers to start.

Restart the Gunicorn daemon to start Riddler:

# service gunicorn restart

Configure the web server

The last thing to do is to configure a web server to reverse proxify the Riddler application, and to serve its static files. Here is an example for nginx:

# cat /etc/nginx/site-enabled/riddler
server {
    location / {
        proxy_pass_header Server;
        proxy_set_header Host $http_host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_pass http://127.0.0.1:9001/;
        proxy_redirect default;
    }

    location /static {
        alias /var/lib/riddler/static;
    }

    location /media {
        alias /var/lib/riddler/media;
    }
}

Use it

Create an admin user using riddleradm:

# riddleradm createsuperuser
Username (leave blank to use 'stallman'): stallman
E-mail address: [email protected]
Password: emacs
Password (again): emacs
Superuser created successfully.

Access to your riddler admin using http://riddler-srv/admin/.

Todo / Changelog

See the TODO.rst and CHANGELOG.rst files

Contribute

You can send your pull-request for Riddler through Github:

https://github.com/NaPs/Riddler

I also accept well formatted git patches sent by email.

Feel free to contact me for any question/suggestion/patch: <[email protected]>.

riddler's People

Contributors

naps avatar

Stargazers

 avatar  avatar

Watchers

 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.