Sha256: 570d19363b23dd91f84e2ccc0275e981d6b5bd37128979eb9789e6224f16ef63
Contents?: true
Size: 1.71 KB
Versions: 33
Compression:
Stored size: 1.71 KB
Contents
# PublishMyData Community Edition. ## Overview The PublishMyData Community Edition is a Rails Engine that adds Linked Data functionality to your Rails app including: - URI dereferencing and displaying resources outside your site domain - A SPARQL Endpoint - Filterable lists of datasets and resources This is the same core code that powers the enterprise, hosted version of PublishMyData. For more details see the [PublishMyData](http://publishmydata.com) website. ## How to use 1. Add it to your Gemfile gem publish_my_data 2. Configure it (in application.rb, or development.rb/production.rb/test.rb) PublishMyData.configure do |config| config.sparql_endpoint = 'http://localhost:3030/pmd/sparql' config.local_domain = 'pmd.dev' config.sparql_timeout_seconds = 30 config.tripod_cache_store = Tripod::CacheStores::MemcachedCacheStore.new('localhost:11211') end 3. Mount it in your routes.rb mount PublishMyData::Engine, at: "/" ## Notes - PublishMyData uses [Tripod](http://github.com/Swirrl/tripod) for database access. - See the Rails guides for [more details on Rails Engines](http://guides.rubyonrails.org/engines.html). - PublishMyData doesn't supply a database. You need to install one. I recommend [Fuseki](http://jena.apache.org/documentation/serving_data/index.html), which runs on port 3030 by default. - The views currently supplied by this Rails engine are very rudimentary. Some nicer default views coming soon, but for now you'll probably just want to override them all in your app. - Warning: This gem is usable now, but the API is under constant development and flux at the moment, and tbh it's not very well documented! :) ## Licence Uses MIT-LICENSE.
Version data entries
33 entries across 33 versions & 1 rubygems