Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A system for translating mozilla addons online
branch: master

This branch is 101 commits behind tymofij:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
adofex
.gitignore
LICENSE
README.rst
requirements.txt
setup.py

README.rst

Transifex Adofex

Transifex Adofex is a project to provide a web service to localize Mozilla extensions. It is a set of Transifex addons and few patches applied to Transifex itself (hopefully soon they will be merged in).

Installation Instructions

  1. Setup Transifex normally somewhere. This can be either in your Python path or elsewhere:

    mkdir ~/devel
    cd ~/devel
    hg clone https://bitbucket.org/tymofiy/transifex
    

    Both requirements.txt and buildout.cfg in transifex are obsolete, refer to http://help.transifex.net/technical/install.html#install-dependencies or requirements.txt in this project.:

    pip install django==1.2.5
    pip install -r requirements.txt
    

    There is a bug in django-piston which makes its install with pip fail (__init__.py file in piston package is missing). See https://bitbucket.org/jespern/django-piston/issue/173/ Tx folks recommend using their tarball and easy_install here:

    easy_install http://trac.transifex.org/files/deps/django-piston-0.2.3-devel-r278.tar.gz
    
  2. Make sure the 'TX_ROOT' config option points to your upstream Transifex project directory.

    You may configure your project by editing the files in the 'settings' directory. Files matching the pattern settings/*-local.conf are ignored by Mercurial.

    Example: Create a config file to be executed before the base config file, and if needed, one executed afterwards. Here's an example of a '09-base-local.conf' file:

    TX_ROOT = '~/devel/transifex/transifex'
    
  1. Create symlink media in adofex pointing to transifex's media and templates:

    cd adofex
    ln -s ~/devel/transifex/transifex/media
    ln -s ~/devel/transifex/templates templates/transifex
    
  2. Finally setup your DB, and run your project as described in the Installation Instructions:

    ./manage.py syncdb --noinput
    ./manage.py migrate
    ./manage.py txcreatenoticetypes
    ./manage.py txlanguages
    ./manage.py mzlanguages
    ./manage.py build_static
    

    To enable registered users create projects, you have to give permission "Can add project" to the 'registered' group

That's it!

Something went wrong with that request. Please try again.