目录

badges.mozilla.org

Current status

This project and site are no longer maintained.

Project info

Build Status Requirements Status

badges.mozilla.org is a service for awarding badges to Mozillians!

Bugs and Ideas

Feel free to file them as issues on the badges.mozilla.org project!

Docker for development

  1. Make sure you have docker and fig
  2. fig up

Development outside of Docker

Here’s how I get it running on my MacBook:

git clone
virtualenv --no-site-packages virtualenv
. ./virtualenv/bin/activate
pip install -r requirements/dev.txt
# Set up a mysql database
# Edit badgus/settings/local.py
# change db credentials and add HMAC_KEYS
./manage.py syncdb
./manage.py migrate
./manage.py compress_assets
./manage.py runserver 0.0.0.0:8000

Under Ubuntu 12.10 (64 bit), all the above worked after first installing some packages and rejiggering some files:

sudo apt-get install build-essential python-dev python-pip \
    python-virtualenv mysql-server libmysqlclient-dev libxml2-dev \
    libxslt-dev memcached libjpeg8 libjpeg62-dev libfreetype6 \
    libfreetype6-dev

sudo ln -s /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib
sudo ln -s /usr/lib/x86_64-linux-gnu/libfreetype.so /usr/lib
sudo ln -s /usr/lib/x86_64-linux-gnu/libz.so /usr/lib

License

This software is licensed under the New BSD License. For more information, read the file LICENSE.

邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号