From d3ffdf5a3e3601746c1edebe292f0ae72ea1a20a Mon Sep 17 00:00:00 2001 From: Anton Beloglazov Date: Thu, 27 Sep 2012 13:04:53 +1000 Subject: [PATCH] Added a setup directory, moved deps there --- deps.sh => deps-arch.sh | 4 ++-- deps-centos.sh | 18 ++++++++++++++++++ setup/README.md | 1 + 3 files changed, 21 insertions(+), 2 deletions(-) rename deps.sh => deps-arch.sh (79%) create mode 100755 deps-centos.sh diff --git a/deps.sh b/deps-arch.sh similarity index 79% rename from deps.sh rename to deps-arch.sh index 1fe564b..ea6152b 100755 --- a/deps.sh +++ b/deps-arch.sh @@ -14,5 +14,5 @@ # See the License for the specific language governing permissions and # limitations under the License. -sudo pip2 install --upgrade pyqcy mocktest PyContracts sniffer pyinotify SQLAlchemy bottle requests Sphinx python-novaclient -sudo pacman -S python2-scipy +sudo pip2 install --upgrade pyqcy mocktest PyContracts SQLAlchemy bottle requests Sphinx python-novaclient +sudo yum install -y numpy scipy diff --git a/deps-centos.sh b/deps-centos.sh new file mode 100755 index 0000000..471693c --- /dev/null +++ b/deps-centos.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +# Copyright 2012 Anton Beloglazov +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +sudo pip-python install --upgrade pyqcy mocktest PyContracts SQLAlchemy bottle requests Sphinx python-novaclient +#sudo pacman -S python2-scipy diff --git a/setup/README.md b/setup/README.md index 732c35c..303e364 100644 --- a/setup/README.md +++ b/setup/README.md @@ -3,4 +3,5 @@ ``` CREATE DATABASE neat; GRANT ALL ON neat.* TO 'neat'@'controller' IDENTIFIED BY 'neatpassword'; +GRANT ALL ON neat.* TO 'neat'@'%' IDENTIFIED BY 'neatpassword'; ```