Revision: 9209
http://languagetool.svn.sourceforge.net/languagetool/?rev=9209&view=rev
Author: dnaber
Date: 2013-01-25 14:17:45 +0000 (Fri, 25 Jan 2013)
Log Message:
-----------
add missing scripts, copied from old source tree (not yet fully tested again)
Added Paths:
-----------
trunk/languagetool/languagetool-standalone/scripts/
trunk/languagetool/languagetool-standalone/scripts/deploy-api-server.sh
trunk/languagetool/languagetool-standalone/scripts/deploy-wikipedia-checker.sh
Copied: trunk/languagetool/languagetool-standalone/scripts/deploy-api-server.sh
(from rev 9047, trunk/JLanguageTool/src/scripts/deploy-api-server.sh)
===================================================================
--- trunk/languagetool/languagetool-standalone/scripts/deploy-api-server.sh
(rev 0)
+++ trunk/languagetool/languagetool-standalone/scripts/deploy-api-server.sh
2013-01-25 14:17:45 UTC (rev 9209)
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+echo ""
+echo "###"
+echo "### Admin only - you will need the server password to deploy the code
###"
+echo "### This will deploy the code for e.g.
https://languagetool.org:8081/?text=foo&language=en-US ###"
+echo "###"
+echo ""
+sleep 1
+
+cd .. &&
+ mvn clean package -DskipTests &&
+ cd - &&
+ scp target/LanguageTool-[1-9].[0-9]*.zip [email protected]: &&
+ ssh [email protected] "unzip -d /home/languagetool/api
~/LanguageTool-[1-9].[0-9]*.zip && cp -r
/home/languagetool/api/LanguageTool-[1-9].[0-9]*/* /home/languagetool/api/ &&
rm -rf /home/languagetool/api/LanguageTool-[1-9].[0-9]*/ && cd
/home/languagetool/ && ./restart-api-server.sh"
Copied:
trunk/languagetool/languagetool-standalone/scripts/deploy-wikipedia-checker.sh
(from rev 9047, trunk/JLanguageTool/src/scripts/deploy-wikipedia-checker.sh)
===================================================================
---
trunk/languagetool/languagetool-standalone/scripts/deploy-wikipedia-checker.sh
(rev 0)
+++
trunk/languagetool/languagetool-standalone/scripts/deploy-wikipedia-checker.sh
2013-01-25 14:17:45 UTC (rev 9209)
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+echo ""
+echo "###"
+echo "### Admin only - you will need the server password to deploy the code
###"
+echo "### This will deploy code for automatic Wikipedia checking ###"
+echo "### as seen on
http://community.languagetool.org/corpusMatch/list?lang=en ###"
+echo "### but it will not deploy the web-app ###"
+echo "###"
+echo ""
+echo "### NOTE: You still need to call update-all.sh manually on the server
###"
+echo ""
+sleep 1
+
+echo "FIXME - still needs to be test after the switch to Maven"
+
+#cd .. &&
+# mvn clean package -DskipTests &&
+# cd - &&
+# scp -i /home/dnaber/.ssh/openthesaurus target/LanguageTool-[1-9].[0-9]*.zip
[email protected]: &&
+# ssh -i /home/dnaber/.ssh/openthesaurus [email protected] "unzip
-d /home/languagetool/ltcommunity/corpus ~/LanguageTool-[1-9].[0-9]*.zip"
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits