Skip to content
Janneck Wullschleger edited this page Feb 2, 2015 · 6 revisions

Installation

tweap requires several installed packages to run

##Python3 Python3 download

##pip3 Download and run the script as follows, you’ll need to use sudo on mac, as the script will need privs to write into /Library dir

curl -O http://python-distribute.org/distribute_setup.py

sudo python3 distribute_setup.py

Now you should be able to install pip, again you’ll need to run the script with python3 (not sure if sudo is definitely required this time)

curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py

sudo python3 get-pip.py

##ugettext (Mac) if you don't have brew yet, install it! (It's awesome anyways) ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

then you can run

brew install gettext

brew link gettext --force

##The rest pip3 install django-image-cropper

pip3 install django-rosetta

pip3 install easy-thumbnails

pip3 install pillow

pip3 install mysql-connector-python --allow-external mysql-connector-python

pip3 install -U selenium

##create data base create a database in your mySQL server (localhost, standard port 3306) with name tweap credentials must be username:'root' pw:'' or change them in [project_dir]/tweap/tweap/settings.py -> DATABASES

move to project dir and then into the dir 'tweap' run from that dir:

python manage.py migrate

##start tweap move to project dir and then into the dir 'tweap' run from that dir:

python manage.py startserver

tweap should now be available via http://127.0.0.1:8000

Clone this wiki locally