Skip to content

Instantly share code, notes, and snippets.

@pavgup
Created March 8, 2015 02:37
Show Gist options
  • Save pavgup/a5ddb047df6669e138cf to your computer and use it in GitHub Desktop.
Save pavgup/a5ddb047df6669e138cf to your computer and use it in GitHub Desktop.
Python-poker-network alternative installation on Ubuntu 14.04.1 (and 14.04.2) LTS
# Tried this on an AWS EC2 Ubuntu 14.04.1 (and a dist-upgraded 14.04.2) 64 bit VM
# This is nothing more than a copy and paste thing you can do as ubuntu to get up and running.
# It's definitely not efficient at this point, feel free to make more efficient
sudo apt-get -y update;
sudo echo mysql-server-5.5 mysql-server/root_password password abc123 | sudo debconf-set-selections;
sudo echo mysql-server-5.5 mysql-server/root_password_again password abc123 | sudo debconf-set-selections;
sudo apt-get -y install build-essential checkinstall git-core mysql-server \
python-pip python-twisted python-mysqldb \
python-mysqldb-dbg memcached python-memcache \
python-simplejson python-cjson python-cjson-dbg \
python-libxml2 python-libxml2-dbg python-lxml \
python-lxml-dbg python-libxslt1 python-libxslt1-dbg \
python-pypoker-eval gettext;
sudo pip install git+git://github.com/pokermania/reflogging.git;
sudo pip install git+git://github.com/pokermania/pokerdistutils.git;
sudo pip install git+git://github.com/pokermania/pokerengine.git;
sudo pip install git+git://github.com/pokermania/pokerpackets.git;
git clone https://github.com/pokermania/pokernetwork.git pokernetwork; cd pokernetwork; sudo python setup.py configure -s mysql.root_user.password=abc123; sudo python setup.py configure -b; sudo python setup.py install; cd ..;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment