Skip to content

john/phaph

Repository files navigation

README

Social search

Ruby version

  • 2.2.0

Elasticsearch

Images

  • MiniMagick, which requires

    • Image/GraphicsMagick

    • libmagic for file type detection

    • Ghostscript for PDF support

    • libpng for… PNG support

Other dependencies

  • [LibreOffice](www.libreoffice.org/) To create PDFs from any old file type

    Local install:
    brew tap phinze/homebrew-cask
    brew install brew-cask
    brew cask install libreoffice
  • [unoconv](github.com/dagwieers/unoconv/) to convert any document LibreOffice understands

    Local insdtall: brew updatae && brew install unoconv
  • [httrack](www.httrack.com/) to download websites and assets.

    Local install: brew update && brew install httrack
  • [libmagic](linux.die.net/man/3/libmagic) to detect filetypes.

    Local install: brew update && brew install libmagic
  • [phantomjs](phantomjs.org/) to create screenshots of websites.

    Local install: brew update && brew install phantomjs

Deployment

  • Instantiate AWS instance with [Fog](fog.io/):

    `ruby lib/fog/init.rb`
    
  • Deploy with [Capistrano](capistranorb.com/)

    `cap production deploy`
    
  • At the moment you still then need to ssh into the instance an manually start both passenger and elasticsearch.

Specs

  • bundle exec rake spec

About

Used to hold your science. Now it holds... everything.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published