Skip to content
This repository was archived by the owner on May 9, 2018. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

78 Commits

Repository files navigation

Scripts to install and configure Hoover

Getting started

This magic script will create a folder (named hoover by default) and install components in it:

  • Clones of the search, snoop2 and ui repos
  • Virtualenvs and Python dependencies for search and snoop2
  • npm dependencies for ui
python3.5 <(curl -sL https://github.com/hoover/setup/raw/master/install.py)

To run the servers, start these two daemons from a daemon manager like supervisor:

bin/hoover webserver snoop2 --host=localhost --port=9000
bin/hoover webserver search --host=localhost --port=8000

Later, if you want to upgrade to the latest version:

bin/hoover update
bin/hoover upgrade

Environment variables

The following environment variables are used to specify different arguments for the setup:

NameExplanationDefault
HOOVER_HOMEThe path where Hoover is installed.pwd() / hoover
HOOVER_VIRTUALENV_URLThe source of the virtualenv package.
HOOVER_SETUPTOOLS_URLThe source of the setuptools package.
HOOVER_PIP_URLThe source of the pip package.
HOOVER_SEARCH_DBThe postgres database that search uses.hoover-search
HOOVER_SNOOP2_DBThe postgresql database that snoop2 uses.hoover-snoop2
HOOVER_SNOOP2_BLOBSPath to blob storage for snoop2.
HOOVER_ES_URLThe elasticsearch URL that will be used.localhost:9200
HOOVER_SNOOP2_TIKA_URLThe Apache Tika URL that will be used by snoop2.localhost:9998
HOOVER_SETUP_REPOThe git repo from where the setup repo is cloned.
HOOVER_SETUP_BRANCHThe branch / version that is checked out for the setup repo.master
HOOVER_SEARCH_REPOThe git repo from where the search repo is cloned.
HOOVER_SNOOP2_REPOThe git repo from where the snoop2 repo is cloned.
HOOVER_UI_REPOThe git repo from where the ui repo is cloned.
HOOVER_BOOTSTRAP_NO_DBDon't assume the databases exist on bootstrap. Run upgrade when they're available.None
HOOVER_OAUTH_LIQUID_URLThe URL of the liquid-core OAuth2 provider.
HOOVER_OAUTH_CLIENT_IDThe client ID to be used with the liquid-core OAuth2 provider.
HOOVER_OAUTH_CLIENT_SECRETThe client secret to be used with the liquid-core OAuth2 provider.
HOOVER_CONFIG_DIRThe directory in which the config files are saved. Symlinks are made to the actual files.

About

Legacy scripts to install and configure Hoover

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages