Skip to main content

A pyramid app for issuing your own Open Badges

Project description

tahrir is Arabic for Liberation.

tahrir is also a Pyramid app for issuing your own Open Badges.

The name is total overkill.

Installing

$ sudo pip install tahrir

Building a configuration file

Get a sample configuration file:

$ wget https://raw.github.com/ralphbean/tahrir/master/production.ini -O tahrir.ini

And edit it to your liking. In particular you will need to change the following values under the [server:main] section:

  • host = yoursite.com

  • port = 80

And the following values under the [app:pyramid] section:

  • tahrir.salt = “whatever you want”

  • tahrir.admin = “some super secret string used to login as admin”

  • tahrir.title = “just badgin’ around”

  • tahrir.pngs.uri = /home/user/badges/pngs

  • tahrir.base_url = “yoursite.com”

Setting up the DB

$ initialize_tahrir_db tahrir.ini

Running

$ pserve tahrir.ini

Reporting Bugs

If you find bugs in Tahrir or have ideas for enhancements, please report them at http://github.com/ralphbean/tahrir/issues.

Hacking

If you’d like to contribute to tahrir or just poke at the code, you can use the following instructions to set up a development environment.

$ sudo yum -y install python-virtualenvwrapper
$ git clone git://github.com/ralphbean/tahrir.git
$ cd tahrir
$ mkvirtualenv tahrir
(tahrir)$ python setup.py develop
(tahrir)$ initialize_tahrir_db development.ini
(tahrir)% pserve --reload development.ini

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tahrir-0.1.7.tar.gz (30.2 kB view details)

Uploaded Source

File details

Details for the file tahrir-0.1.7.tar.gz.

File metadata

  • Download URL: tahrir-0.1.7.tar.gz
  • Upload date:
  • Size: 30.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tahrir-0.1.7.tar.gz
Algorithm Hash digest
SHA256 2b3d15ea7634effeeb1919720fd0e172e7c611856d62588488724d5805e0d520
MD5 74dd0e2f0fb7244e5f1ac0eec0a0b3b3
BLAKE2b-256 5db76a51ab0931f8193763b25d75340e58092cc1fcad2a24eb5f1d59dba55ae8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page