RubyGem "dataspects"

From FindAndLearn::Cookbook
C190909102000
Jump to: navigation, search



Requires Ruby

CanBeInstalled Yes

Locally

# [email protected]:~$
  git clone [email protected]:dataspects/dataspects.git
  cd dataspects/
  gem build dataspects.gemspec
  gem install dataspects-<version>.gem

Dockerized

docker run -it --rm --name <CHOOSE_ANY_CONTAINER_NAME> --volume "<PATH_TO_RUBY_FILES>":/dataspects --workdir /dataspects dataspects/dataspects:<VERSION> ruby <RUBY_FILE>

CanBeDeveloped Yes

[email protected]:~/dataspects$ bundle install

Release management

https://github.com/dataspects/dataspects/releases

How to create a new release

CanBeTested Yes

Step 1: Setup "dataspectsSystem"

Step 2: Expose Docker container ports in docker-compose.yml

  • elasticsearch: 9200
  • kibana: 5601
  • tika: 9998

Step 3

# [email protected]:~/dataspects$
  git pull
  bundle install
  rspec