GithubHelp home page GithubHelp logo

rank-me's Introduction

Rank-me.io

Installation

Run the following command::

vagrant up

This will create a box and install everything you need. Once it's installed, use vagrant ssh to SSH to the box and run ./manage.py runserver to run the development server. You'll then be able to connect to http://rank-me.lo/.

Create admin account

You'll probably want to run ./manage.py createsuperuser to create a super user and then login on /admin/, sparing the need to setup Twitter authentication (see below).

Assets management

Build assets and watch for changes by running the following command inside the box:

gulp

Twitter authentication

Most of the application requires to be authenticated. This means you'll get redirected to Twitter if you try to access a protected page. If you don't want to register a Twitter app to get an API key and secret, you can just create a user with ./manage.py createsuperuser, go to /admin and log in. Once you're authenticated, you'll be able to go through the whole application.

API documentation

Go to rank-me.lo/api

Deployment

  • Create a Git tag
  • fab deploy:{{tag}}

Running the tests

To run the tests, make sure test dependencies are installed by running the following command in the box:

pip install -r requirements/test.txt

And then run the tests with the following command (again, in the box):

./runtests.sh

To run a specific test, use the same syntax as you would with manage.py test:

./runtests apps.game.tests.functional.test_competition.TestCompetition.test_create_competition

Contribute

Any contribution welcome! Ideally use pull requests and make sure that the tests still pass.

We use the Github issues as a backlog.

rank-me's People

Contributors

drixselecta avatar jeanmonod avatar krtek4 avatar lebenleben avatar noefroidevaux avatar sephii avatar sitron avatar t4m 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.