CC-2518: Auto-install scrip for manual install
- done - php.ini directives are overriden in .htaccess file - script bypass apache configuration if apache2/site-avaiable/airtime exists - script byapss virtualenv setting if /usr/lib/airtime/airtime_virtualenv exists
This commit is contained in:
parent
216a166437
commit
48634dd96e
3 changed files with 96 additions and 2 deletions
|
@ -2,8 +2,13 @@
|
|||
|
||||
echo -e "\n******************************** Install Begin *********************************"
|
||||
|
||||
echo -e "\n*** Creating Vitualenv for Airtime ***"
|
||||
sudo virtualenv --no-site-package -p /usr/bin/python2.6 /usr/lib/airtime/airtime_virtualenv
|
||||
VIRTUAL_ENV_DIR="/usr/lib/airtime/airtime_virtualenv"
|
||||
if [ ! -d "$VIRTUAL_ENV_DIR" ]; then
|
||||
echo -e "\n*** Creating Vitualenv for Airtime ***"
|
||||
sudo virtualenv --no-site-package -p /usr/bin/python2.6 /usr/lib/airtime/airtime_virtualenv
|
||||
else
|
||||
echo -e "\n*** Existing Airtime Virturalenv Found ***"
|
||||
fi
|
||||
|
||||
echo -e "\n*** Installing Python Libraries ***"
|
||||
sudo /usr/lib/airtime/airtime_virtualenv/bin/pip install kombu poster pyinotify==0.9.2 mutagen==1.20 configobj -E /usr/lib/airtime/airtime_virtualenv
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue