diff --git a/Gemfile b/Gemfile index dded4ed..b7d08a2 100644 --- a/Gemfile +++ b/Gemfile @@ -1,6 +1,7 @@ source 'https://rubygems.org' gem 'paperclip', '~> 5.0.0' +gem 'docsplit', '~> 0.7.6' # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' gem 'rails', '~> 5.0.0', '>= 5.0.0.1' diff --git a/Gemfile.lock b/Gemfile.lock index e3e0110..90e74a4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -55,6 +55,7 @@ GEM coffee-script-source (1.10.0) concurrent-ruby (1.0.2) debug_inspector (0.0.2) + docsplit (0.7.6) erubis (2.7.0) execjs (2.7.0) ffi (1.9.14) @@ -169,6 +170,7 @@ DEPENDENCIES bcrypt (~> 3.1.7) byebug coffee-rails (~> 4.2) + docsplit (~> 0.7.6) jbuilder (~> 2.5) jquery-rails listen (~> 3.0.5) diff --git a/README.md b/README.md index 7db80e4..2561c4f 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,22 @@ Things you may want to cover: * Ruby version +Ruby 2.3.1 +``` +gem 'paperclip', '~> 5.0.0' +gem 'docsplit', '~> 0.7.6' +``` + * System dependencies +[Docsplit](http://documentcloud.github.io/docsplit/#installation) +``` +sudo apt-get --no-install-recommends install graphicsmagick +sudo apt-get --no-install-recommends install poppler-data +sudo apt-get --no-install-recommends install ghostscript +sudo apt-get --no-install-recommends install tesseract-ocr +sudo apt-get --no-install-recommends install pdftk +``` * Configuration * Database creation