GithubHelp home page GithubHelp logo

imclab / badges Goto Github PK

View Code? Open in Web Editor NEW

This project forked from p2pu/badges

0.0 2.0 0.0 5.28 MB

At P2PU, learning is guided by people, passion, and projects. We’ve created this Badge platform to spark feedback between Experts and Learners about their learning projects. A Badge is symbol of mastery that comes out of those conversations. Here you’ll find out how Badges work, and some resources to build your own.

Home Page: http://badges.p2pu.org/

badges's Introduction

Badges Build Status

This is our third take on badges! It boils down to this: Create a badge, submit a project for a badge, get feedback and revise your project, receive the badge, give feedback and build the value of the badge you have by being part of an awesome community around it!

Installation

This project is written using django. To get up and running for development

  1. Make a local copy of the code: git clone https://github.com/p2pu/badges
  2. Init submodules: git submodule init
  3. Fetch submodules: git submodule update
  4. Install python and virtualenv (changes are good you already have them)
  5. Create a new virtual environment somewhere: virtualenv /path/to/somewhere
  6. Activate the virtual environment: source /path/to/somewhere/bin/activate
  7. Install dependancies: pip install -r /path/to/code/badges/requirements.txt
  8. Install the sass compiler:
    • Install ruby apt get install ruby (or user rbenv)
    • Clone the sass git repository git clone git://github.com/nex3/sass.git
    • Install sass cd /path/to/sass/ and rake install
  9. Copy settings_local.dist.py to settings_local.py
  10. Sync database: python /path/to/code/badges/manage.py syncdb
  11. Load some test data: python /path/to/code/badges/manage.py load_test_data /path/to/code/testdata/test_data.json
  12. Run development server: python /path/to/code/badges/manage.py runserver
  13. Go to http://localhost:8000/ and play around
  14. And lastly, fix all the bugs, add cool new features and take over the world :)

Mozilla Open Badge Integration and Development

Documentation:

Setup Development Environment:

  1. Prepare validator
  1. Amend settings_local.py
    • set OPEN_BADGES_PUBLIC_URL to your development box (and later to production public url)
    • if using local validator, OPEN_BADGES_PUBLIC_URL='http://localhost:8000'
    • otherwise play with ssh remote tunneling and set OPEN_BADGES_PUBLIC_URL accordingly
  2. Open Badges urls:
  • OPEN_BADGES_PUBLIC_URL/openbadges/assertions/
  • OPEN_BADGES_PUBLIC_URL/openbadges/badge/<badge_id>
  • OPEN_BADGES_PUBLIC_URL/openbadges/organisation

badges's People

Contributors

dirkcuys avatar ercchy avatar mkcode avatar mozzadrella 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.