Skip to content

Instantly share code, notes, and snippets.

View j2labs's full-sized avatar

The Ghost Of J2 Labs j2labs

View GitHub Profile
$ echo "اس صفحہ کو ترامیم کیلیۓ نـیـم محفوظ کر دیا گیا ہے اور صارف کو اندراج کر کے داخل نوشتہ ہونا لازم ہے۔" \
> | convert label:@- ~/Desktop/imagemagick.gif
port install git-core sqlite3 virtualenv virtualenvwrapper libyaml py26-pil
mkdir ~/.virtualenv
export WORKON_HOME=$HOME/.virtualenvs
source /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/virtualenvwrapper_bashrc
cd ~/Projects
git clone git://github.com/j2labs/pinax.git
git clone git://github.com/j2labs/wikitrans.git
cd pinax
python ./scripts/pinax-boot.py --development $WORKON_HOME/dev-wikitrans
workon dev-wikitrans
pip install -I -r $WORKON_HOME/dev-wikitrans/src/pinax/requirements/external_apps.txt
cd ../wikitrans
pip install -I pyyaml
pip install http://dist.repoze.org/PIL-1.1.6.tar.gz
pip install -I -r wt-app/requirements.txt
$ python
>>> import nltk
>>> import nltk.download('all')
cd wt-app
./manage.py syncdb
./manage.py runserver
./manage.py update_wiki_articles
./manage.py translate_google
10c10
< ;; Last-Updated: Sat Aug 1 15:15:22 2009 (-0700)
---
> ;; Last-Updated: Sat Dec 27 10:19:33 2008 (-0800)
12c12
< ;; Update #: 647
---
> ;; Update #: 646
15c15
< ;; Compatibility: GNU Emacs: 21.x, 22.x, 23.x