-
Install tomcat6 and MySQL:
sudo apt-get install tomcat6 tomcat6-admin mysql-server libmysql-java
I 'm assuming that you use password "thesaurus" for the root mysql user (of course in reality you will use a better one).
-
Setup tomcat6 and mysql:
sudo chown -R root:tomcat6 /var/lib/tomcat6 mysql -uroot -pthesaurus
create database vithesaurus; grant all privileges on vithesaurus.* to 'vithesaurus'@'localhost'
identified by 'vithesaurus'; -
Install Grails 1.3.9
sudo apt-get install python-software-properties sudo add-apt-repository ppa:groovy-dev/grails sudo apt-get update sudo apt-get install grails-1.3.9
-
Install git and get the code (if you don't have it already)
sudo apt-get install git git clone git://github.com/freegreek/vithesaurus-el cp /usr/share/java/mysql.jar vithesaurus-el/vithesaurus/lib
-
Download jforumsecuresso and put it in the codebase
sudo apt-get install unzip wget http://www.smartkey.co.uk/downloads/jforumsecuresso-1.0-dist.zip unzip jforumsecuresso-1.0-dist.zip cp jforumsecuresso-1.0/dist/jforumsecuresso-1.0.jar vithesaurus-el/vithesaurus/lib/
-
Build the war:
cd vithesaurus-el/vithesaurus ; grails war
-
Install
Edit /etc/tomcat6/tomcat-users.xml as needed for manager gui access
sudo cp vithesaurus-1.2.0.war /var/lib/tomcat6/webapps sudo service tomcat6 restart
-
Open http://localhost:8080 Enter the admin interface (username/password = whatever you set in tomcat-users.xml)
Start the vithesaurus application.
-
Create the in-memory database
curl -I http://localhost:8080/vithesaurus-1.2.0/synset/createMemoryDatabase
-
Set the vithesaurus.properties (site URL etc)
Edit /var/lib/tomcat6/webapps/vithesaurus-1.2.0/WEB-INF/classes/vithesaurus.properties
-
Profit! (browse to http://localhost:8080/vithesaurus-1.2.0/)
-
Notifications
You must be signed in to change notification settings - Fork 0
apsegian/vithesaurus-el
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A project to adapt vithesaurus to greek language in order to enrich the Greek thesaurus for LibreOffice
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published