From 95648423eb6d266c5879276e697ecd0d402231c9 Mon Sep 17 00:00:00 2001 From: Lucas D'Avila Date: Thu, 31 Jan 2013 22:46:45 -0200 Subject: [PATCH] Adicionado scripts para atualização plugin jquery chosen / para instalar pacotes pear, necessários para bibliotecas Portabilis --- ieducar/scripts/install_pear_packages.sh | 17 +++++++++++++++++ ieducar/scripts/update-ajax-chosen-plugin.sh | 11 +++++++++++ ieducar/scripts/update-chosen-plugin.sh | 15 +++++++++++++++ 3 files changed, 43 insertions(+), 0 deletions(-) create mode 100644 ieducar/scripts/install_pear_packages.sh create mode 100644 ieducar/scripts/update-ajax-chosen-plugin.sh create mode 100644 ieducar/scripts/update-chosen-plugin.sh diff --git a/ieducar/scripts/install_pear_packages.sh b/ieducar/scripts/install_pear_packages.sh new file mode 100644 index 0000000..bb87dd7 --- /dev/null +++ b/ieducar/scripts/install_pear_packages.sh @@ -0,0 +1,17 @@ +# este arquivo deve ser usado para instalar as dependencias do i-educar, +# +# para instalar o pear no ubuntu: sudo apt-get install php-pear +# ou para atualizar uma instalação já existente: sudo pear upgrade pear + +echo "Instalando dependencias" + +sudo pear install XML_RPC2 + +# mailer +sudo pear install Mail +sudo pear install Net_SMTP + +# recaptcha +sudo pear install Services_ReCaptcha + +sudo service apache2 restart \ No newline at end of file diff --git a/ieducar/scripts/update-ajax-chosen-plugin.sh b/ieducar/scripts/update-ajax-chosen-plugin.sh new file mode 100644 index 0000000..6e76cf8 --- /dev/null +++ b/ieducar/scripts/update-ajax-chosen-plugin.sh @@ -0,0 +1,11 @@ +echo "Updating ajax-chosen plugin..." + +cd ~/projects/i*educar/trunk/modules/Portabilis/Assets/Plugins + +rm -r AjaxChosen +mkdir AjaxChosen + +cd AjaxChosen +wget https://raw.github.com/meltingice/ajax-chosen/master/lib/ajax-chosen.min.js + +echo "\nDone, now you must update the assets version!" \ No newline at end of file diff --git a/ieducar/scripts/update-chosen-plugin.sh b/ieducar/scripts/update-chosen-plugin.sh new file mode 100644 index 0000000..9355c7a --- /dev/null +++ b/ieducar/scripts/update-chosen-plugin.sh @@ -0,0 +1,15 @@ +echo "Updating chosen plugin..." + +cd ~/projects/i*educar/trunk/modules/Portabilis/Assets/Plugins + +rm -r Chosen +mkdir Chosen + +cd Chosen +wget https://raw.github.com/harvesthq/chosen/master/LICENSE.md +wget https://raw.github.com/harvesthq/chosen/master/chosen/chosen.jquery.min.js +wget https://raw.github.com/harvesthq/chosen/master/chosen/chosen.css +wget https://raw.github.com/harvesthq/chosen/master/chosen/chosen-sprite@2x.png +wget https://raw.github.com/harvesthq/chosen/master/chosen/chosen-sprite.png + +echo "\nDone, now you must update the assets version!" \ No newline at end of file -- libgit2 0.21.2