README.md revision 2a8317c651813585c2e37896ede11a29a786a137
2339N/AOntohub
2339N/A=======
2339N/A
2339N/AA web-based repository for distributed ontologies.
2339N/A
2339N/AAn ontology is a formal, logic-based description of the concepts and
2339N/Arelationships that are of interest to an agent (user or service) or to a
2339N/Acommunity of agents. The conceptual model of an ontology reflects a consensus,
2339N/Aand the implementation of an ontology is often used to support a variety of
2339N/Aapplications such as web services, expert systems, or search engines. Therefor,
2339N/Aontologies are typically developed in teams. Ontohub wants to make this
2339N/Astep as convenient as possible.
2339N/A
2339N/AThis application started at the compact course [agile web development][0] given
2339N/Aby [Carsten Bormann][1] at the University of Bremen in March, 2012. The
2339N/Aconcept and assignment came from [Till Mossakowski][2] and [Christoph
2339N/ALange][3] of the [AG Bernd Krieg-Brückner][4].
2339N/A
2339N/AInitial developers are [Julian Kornberger][5] and [Henning Müller][6].
2339N/A
2339N/AInstallation
2339N/A------------
2339N/A
3185N/AThese commands should work on Ubuntu 11.04. First of all you need a root shell.
2339N/A
2339N/A### RVM with Ruby 1.9.3
2339N/A
2339N/AInstallation of [RVM](https://rvm.beginrescueend.com/ "Ruby Version Manager"):
2339N/A
2339N/A bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
2339N/A source ~/.bash_profile
2339N/A apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion
2339N/A rvm install 1.9.3
2339N/A
2339N/A### Apache2 with passenger
2339N/A
2339N/A apt-get install apache2 apache2-prefork-dev libapr1-dev
2339N/A gem install passenger
2339N/A passenger-install-apache2-module
3014N/A
3014N/ADepending on the installed ruby and passenger version you need to create a `/etc/apache2/mods-available/passenger.load` with the LoadModule directive:
3014N/A
3014N/A LoadModule passenger_module /usr/local/rvm/gems/ruby-1.9.3-p<version>/gems/passenger-<version>/ext/apache2/mod_passenger.so
3014N/A
3014N/Aand a `/etc/apache2/mods-available/passenger.conf` with the global passenger configuration:
3014N/A
2339N/A PassengerRoot /usr/local/rvm/gems/ruby-1.9.3-p<version>/gems/passenger-<version>
2339N/A PassengerRuby /usr/local/rvm/wrappers/ruby-1.9.3-p<version>/ruby
2339N/A
2339N/Anow enable the module an restart apache2:
2339N/A
2339N/A a2enmod passenger
3110N/A service apache2 restart
2339N/A
3030N/ATODO: virtual host configuration
3110N/A
3185N/A### PostgreSQL
2339N/A
2339N/A apt-get install postgresql-server
2339N/A
2339N/A### hets
2690N/A
3185N/A apt-add-repository ppa:hets/hets
3110N/A apt-add-repository "deb http://archive.canonical.com/ubuntu lucid partner"
2517N/A apt-get update
2453N/A apt-get install hets-core subversion
3185N/A
2339N/AIf you need the latest nightly build, just update hets:
2339N/A
2339N/A hets -update
3185N/A
2339N/AConfiguration
3146N/A-------------
2339N/A
2339N/A### Hets environment variables
2339N/A
2339N/AHets environment variables and the extensions of files allowed for upload are
2339N/Ato be set in `config/hets.yml`.
3110N/A
2339N/A### Allowed URI schemas
3030N/A
3110N/AAllowed URI schemas are to be set in `config/initializers/ontohub_config.rb`.
3185N/A
2339N/A### Clean upload cache
2339N/A
2339N/A rails runner CarrierWave.clean_cached_files!
2339N/A
2690N/A
3185N/A[0]: http://www.tzi.org/~cabo/awe12
2517N/A[1]: http://www.tzi.org/~cabo
3110N/A[2]: http://www.tzi.org/~till
2453N/A[3]: http://kwarc.info/clange
3185N/A[4]: http://www.informatik.uni-bremen.de/agbkb
2339N/A[5]: https://github.com/corny
2339N/A[6]: http://henning.orgizm.net
2339N/A