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