Setup (Ubuntu 12.04) - famish99/MuchoCorazon GitHub Wiki
Installing Pypy 1.9
If you are running a 32bit machine, open up your terminal and run the following:
$ cd ~/Downloads
$ wget https://bitbucket.org/pypy/pypy/downloads/pypy-1.9-linux.tar.bz2
$ tar xjf pypy-1.9-linux.tar.bz2
$ sudo mv pypy-1.9/ /usr/local/lib
$ cd /usr/bin
$ sudo ln -s /usr/local/lib/pypy-1.9/bin/pypy .
$ cd ~/Downloads
$ rm pypy-1.9-linux.tar.bz2
If you are running a 64bit machine, open up your terminal and run the following:
$ cd ~/Downloads
$ wget https://bitbucket.org/pypy/pypy/downloads/pypy-1.9-linux64.tar.bz2
$ tar xjf pypy-1.9-linux64.tar.bz2
$ sudo mv pypy-1.9/ /usr/local/lib
$ cd /usr/bin
$ sudo ln -s /usr/local/lib/pypy-1.9/bin/pypy .
$ cd ~/Downloads
$ rm pypy-1.9-linux64.tar.bz2
Other Packages
setuptools
setuptools is required for some of the following packages, so install it first out of these. Open up a terminal and run the following:
$ cd ~/Downloads
$ wget http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz#md5=7df2a529a074f613b509fb44feefe74e
$ tar xzf setuptools-0.6c11.tar.gz
$ cd setuptools-0.6c11
$ sudo pypy setup.py install
$ cd ..
$ sudo rm -rf setuptools-0.6c11/ setuptools-0.6c11.tar.gz
Django 1.4
Open up a terminal and run the following:
$ cd ~/Downloads
$ wget https://www.djangoproject.com/download/1.4/tarball/
$ tar xzf Django-1.4.tar.gz
$ cd Django-1.4
$ sudo pypy setup.py install
$ cd ..
$ sudo rm -rf Django-1.4/ Django-1.4.tar.gz
Django Cache Machine
Open up a terminal and run the following:
$ cd ~/Downloads
$ git clone https://github.com/jbalogh/django-cache-machine.git
$ cd django-cache-machine
$ sudo pypy setup.py install
$ cd ..
$ sudo rm -rf django-cache-machine
Django Picklefield
Open up a terminal and run the following:
$ cd ~/Downloads
$ git clone https://github.com/gintas/django-picklefield.git
$ cd django-picklefield
$ sudo pypy setup.py install
$ cd ..
$ sudo rm -rf django-picklefield
Python Memcached
Open up a terminal and run the following:
$ cd ~/Downloads
$ wget ftp://ftp.tummy.com/pub/python-memcached/python-memcached-latest.tar.gz
$ tar xzf python-memcached-latest.tar.gz
$ cd python-memcached-1.48
$ sudo pypy setup.py install
$ cd ..
$ sudo rm -rf python-memcached-1.48/ python-memcached-latest.tar.gz
Python Imaging Library
Open up a terminal and run the following:
$ cd ~/Downloads
$ wget http://effbot.org/downloads/Imaging-1.1.7.tar.gz
$ tar xzf Imaging-1.1.7.tar.gz
$ cd Imaging-1.1.7
$ sudo pypy setup.py install
$ cd ..
$ sudo rm -rf Imaging-1.1.7/ Imaging-1.1.7.tar.gz
Download and setup code
Open up a terminal and run the following:
$ cd ~/code # navigate to wherever you want to store your code
$ git clone https://github.com/famish99/MuchoCorazon.git
$ cd MuchoCorazon/game
$ ln -s ../manager/settings.py .
This should get everything to a working state as of right now.