Commit 95648423eb6d266c5879276e697ecd0d402231c9
1 parent
ab29fb0b
Exists in
master
Adicionado scripts para atualização plugin jquery chosen / para instalar pacotes…
… pear, necessários para bibliotecas Portabilis
Showing
3 changed files
with
43 additions
and
0 deletions
Show diff stats
@@ -0,0 +1,17 @@ | @@ -0,0 +1,17 @@ | ||
1 | +# este arquivo deve ser usado para instalar as dependencias do i-educar, | ||
2 | +# | ||
3 | +# para instalar o pear no ubuntu: sudo apt-get install php-pear | ||
4 | +# ou para atualizar uma instalação já existente: sudo pear upgrade pear | ||
5 | + | ||
6 | +echo "Instalando dependencias" | ||
7 | + | ||
8 | +sudo pear install XML_RPC2 | ||
9 | + | ||
10 | +# mailer | ||
11 | +sudo pear install Mail | ||
12 | +sudo pear install Net_SMTP | ||
13 | + | ||
14 | +# recaptcha | ||
15 | +sudo pear install Services_ReCaptcha | ||
16 | + | ||
17 | +sudo service apache2 restart | ||
0 | \ No newline at end of file | 18 | \ No newline at end of file |
@@ -0,0 +1,11 @@ | @@ -0,0 +1,11 @@ | ||
1 | +echo "Updating ajax-chosen plugin..." | ||
2 | + | ||
3 | +cd ~/projects/i*educar/trunk/modules/Portabilis/Assets/Plugins | ||
4 | + | ||
5 | +rm -r AjaxChosen | ||
6 | +mkdir AjaxChosen | ||
7 | + | ||
8 | +cd AjaxChosen | ||
9 | +wget https://raw.github.com/meltingice/ajax-chosen/master/lib/ajax-chosen.min.js | ||
10 | + | ||
11 | +echo "\nDone, now you must update the assets version!" | ||
0 | \ No newline at end of file | 12 | \ No newline at end of file |
@@ -0,0 +1,15 @@ | @@ -0,0 +1,15 @@ | ||
1 | +echo "Updating chosen plugin..." | ||
2 | + | ||
3 | +cd ~/projects/i*educar/trunk/modules/Portabilis/Assets/Plugins | ||
4 | + | ||
5 | +rm -r Chosen | ||
6 | +mkdir Chosen | ||
7 | + | ||
8 | +cd Chosen | ||
9 | +wget https://raw.github.com/harvesthq/chosen/master/LICENSE.md | ||
10 | +wget https://raw.github.com/harvesthq/chosen/master/chosen/chosen.jquery.min.js | ||
11 | +wget https://raw.github.com/harvesthq/chosen/master/chosen/chosen.css | ||
12 | +wget https://raw.github.com/harvesthq/chosen/master/chosen/chosen-sprite@2x.png | ||
13 | +wget https://raw.github.com/harvesthq/chosen/master/chosen/chosen-sprite.png | ||
14 | + | ||
15 | +echo "\nDone, now you must update the assets version!" | ||
0 | \ No newline at end of file | 16 | \ No newline at end of file |