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

Version Path
publish_my_data-1.0.4 README.md
publish_my_data-1.0.3 README.md
publish_my_data-1.0.2 README.md
publish_my_data-1.0.1 README.md
publish_my_data-1.0.0 README.md
publish_my_data-0.0.32 README.md
publish_my_data-0.0.31 README.md
publish_my_data-0.0.30 README.md
publish_my_data-0.0.29 README.md
publish_my_data-0.0.28 README.md
publish_my_data-0.0.27 README.md
publish_my_data-0.0.26 README.md
publish_my_data-0.0.25 README.md
publish_my_data-0.0.24 README.md
publish_my_data-0.0.23 README.md
publish_my_data-0.0.22 README.md
publish_my_data-0.0.21 README.md
publish_my_data-0.0.20 README.md
publish_my_data-0.0.19 README.md
publish_my_data-0.0.18 README.md