Closed brauliobo closed 11 years ago
Still, I got an error: Caught NoReverseMatch while rendering: Reverse for 'notification_notices' with arguments '()' and keyword arguments '{}' not found.
Any guess on the dependency problem? See http://bhakta.casadomato.org:9000/accounts/transifex/
hi, try this:
sudo apt-get install python python-setuptools python-imaging python-dev gettext intltool python-django python-pip git unzip zip
easy_install -U setuptools
easy_install http://trac.transifex.org/files/deps/contact_form-0.3.tar.gz
easy_install http://trac.transifex.org/files/deps/userprofile-0.7-r422-correct-validation.tar.gz
easy_install celery chardet contact_form>=0.3 Django==1.3.1 django-addons>=0.6.6 django-ajax-selects==1.1.4 django-authority django-celery django-kombu django-picklefield django-piston==0.2.3 django-social-auth django-sorting>=0.1 django-tagging-autocomplete==0.3.1 django-threadedcomments>=0.9 django-userena hiredis>=0.1.0 httplib2 markdown PIL>=1.1.7 polib==0.6.3 pygooglechart pysolr redis>=2.4.10 requests South==0.7.3 userprofile BeautifulSoup==3.2.0 django-staticfiles==1.2.1
pip install https://pypi.python.org/packages/source/d/django-filter/django-filter-0.5.1.tar.gz#md5=f28c24251ba108940ddc5b77a4ed829d // Important: Use only Version 0.5.1 Django-Filter. Any newer Version won't work with transifex (error: no module named six)
easy_install https://github.com/mpessas/django-bulk/tarball/master#egg=django-bulk easy_install https://github.com/mpessas/python-Levenshtein/tarball/master#egg=Levenshtein easy_install https://github.com/mpessas/django-tagging/tarball/master#egg=django-tagging easy_install https://github.com/jkal/django-notification/tarball/master#egg=django-notification easy_install https://github.com/jkal/django-pagination/tarball/master#egg=django-pagination
pip install -e git+git://github.com/toastdriven/django-haystack.git@3289ab8bb410321a94608a13e2e527ddbd8f1a7e#egg=django-haystack pip install -e git+git://github.com/jezdez/django_compressor.git@ee16af610d677a0a9b63602da6558f601f66287c#egg=django_compressor
git clone https://github.com/transifex/transifex.git
cd transifex/transifex/
nano settings/40-apps.conf and replace /var/lib/transifex with ../../lib/transifex in -> SCRATCH_DIR = os.path.join('../../lib/transifex', 'scratchdir')
python manage.py txcreatedirs # Create necessary directories python manage.py syncdb # Setup DB tables, create superuser python manage.py migrate # Setup more DB tables python manage.py txlanguages # Create a standard set of languages python manage.py txcreatenoticetypes # Create a standard set of notice types
python manage.py loaddata txcommon/fixtures/sample_*.json
python manage.py createsuperuser
still got the userena problem, you can check the server log at http://bhakta.casadomato.org:9000/
Here comes my complete setup:
sudo apt-get install python python-setuptools python-imaging python-dev gettext intltool python-django python-pip git unzip zip
easy_install -U setuptools
easy_install http://trac.transifex.org/files/deps/contact_form-0.3.tar.gz
easy_install http://trac.transifex.org/files/deps/userprofile-0.7-r422-correct-validation.tar.gz
pip install celery chardet Django==1.3.1 django-addons\>=0.6.6 django-ajax-selects==1.1.4 django-authority django-celery django-kombu django-picklefield django-piston==0.2.2 django-social-auth django-sorting\>=0.1 django-tagging-autocomplete==0.3.1 django-threadedcomments\>=0.9 django-userena hiredis\>=0.1.0 httplib2 markdown PIL\>=1.1.7 polib==0.6.3 pygooglechart pysolr redis\>=2.4.10 requests South==0.7.3 BeautifulSoup==3.2.0 django-staticfiles==1.2.1 python-magic
pip install 'https://pypi.python.org/packages/source/d/django-filter/django-filter-0.5.1.tar.gz#md5=f28c24251ba108940ddc5b77a4ed829d'
easy_install 'https://github.com/mpessas/django-bulk/tarball/master#egg=django-bulk'
easy_install 'https://github.com/mpessas/python-Levenshtein/tarball/master#egg=Levenshtein'
easy_install 'https://github.com/mpessas/django-tagging/tarball/master#egg=django-tagging'
easy_install 'https://github.com/jkal/django-notification/tarball/master#egg=django-notification'
easy_install 'https://github.com/jkal/django-pagination/tarball/master#egg=django-pagination'
pip install -e 'git+git://github.com/toastdriven/django-haystack.git@3289ab8#egg=django-haystack'
pip install -e 'git+git://github.com/jezdez/django_compressor.git@ee16af6#egg=django_compressor'
# postgres
sudo apt-get install libpq-dev
pip install psycopg2
./manage.py txcreatedirs
./manage.py syncdb
./manage.py migrate
./manage.py txlanguages
./manage.py txcreatenoticetypes
./manage.py collectstatic
./manage.py runserver 0.0.0.0:9000
Added
from django.conf.urls.defaults import *
to ~/txenv/lib/python2.6/site-packages/userena/urls.py
Bráulio, as you noticed, the instructions and the repo are not being updated. We're focused on Transifex.com at the moment. If you're able to find a work-around, we can update the docs.
@glezos well, with the above commands and the patch to userena it is fully working
Thank you @brauliobo, I just added a note to the docs with a link to this comment.
https://github.com/transifex/transifex/commit/a9621657b6bc716079b426195c6a42caee7e892b
The instructions at https://github.com/transifex/transifex/blob/devel/docs/plaintext/server/install.txt are completely outdated.
I've used these one for 1.2 install