Sha256: 5c2f9431590692b047271d5db9345c1674ad364c26986a472d755f4043b653dd

Contents?: true

Size: 1.67 KB

Versions: 2

Compression:

Stored size: 1.67 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 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

## Licence

Uses MIT-LICENSE.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
publish_my_data-0.0.3 README.md
publish_my_data-0.0.2 README.md