Fix the database installation

Change-Id: I5d94bcdd953bcbc5fb15397b602df739068db526
This commit is contained in:
Christian Berendt 2015-04-03 09:49:17 +02:00
parent 8df64be42c
commit 77db956fc1
3 changed files with 3 additions and 2 deletions

View File

@ -3,4 +3,4 @@
tasks:
- apt: update-cache=yes upgrade=yes
- command: /vagrant/contrib/install.sh -i faafo -i messaging -r api -r worker -r demo
- command: /vagrant/contrib/install.sh -i faafo -i messaging -i database -r api -r worker -r demo -d 'mysql://faafo:password@%localhost:3306/faafo' -m 'amqp://guest:guest@localhost:5672/' -e 'http://localhost'

View File

@ -100,7 +100,7 @@ if [[ -e /etc/os-release ]]; then
if [[ $INSTALL_FAAFO -eq 1 ]]; then
if [[ $ID = 'ubuntu' || $ID = 'debian' ]]; then
sudo apt-get update
sudo apt-get install -y python-dev python-pip supervisor git zlib1g-dev
sudo apt-get install -y python-dev python-pip supervisor git zlib1g-dev libmysqlclient-dev
#elif [[ $ID = 'centos' || $ID = 'fedora' || $ID = 'rhel' ]]; then
# sudo yum install -y python-devel python-pip
#elif [[ $ID = 'opensuse' || $ID = 'sles' ]]; then

View File

@ -1,6 +1,7 @@
pbr>=0.6,!=0.7,<1.0
anyjson>=0.3.3
eventlet>=0.16.1,!=0.17.0
MySQL-python
PyMySQL>=0.6.2 # MIT License
Pillow==2.4.0 # MIT
requests>=2.2.0,!=2.4.0