You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Enterprise Search is available as the source code directly a production bundle can be build, but we don't provide one, since it is almost certain that every distribution will have a certain level of customization (at code level), and the production bundle doesn't allow that, but you can build a production bundle once you have your custom instance ready.

To have access to the code of the Enterprise Search, Git must be installed, if you haven't done it yet, please refer to Prerequisites - Install Git

Downloading The Code


To download the code follow the steps:

  1. Clone the code the repository for the Enterprise Search

    git clone https://source.digital.accenture.com/projects/ST/repos/search-stack
  2. Enter the folder of the repository just cloned

    The default branch  is master, if you want to submit code, please create a branch or do a pull request to develop

  3. Initialize the submodules

    git submodule update --init --recursive
  4. Install the server dependencies 

    npm install

    In MacOs there is a know issue when executing npm install

    gyp: No Xcode or CLT version detected!

    to solve this issue please follow the instructions from this link

  5. Install the user interface dependencies

    cd ui
    npm install
  6. Build the user interfacer

    npm run build

    This can also be done from the root folder

Executing the Enterprise Search

To execute the Enterprise Search, just go the to root folder and run the following command



npm run start

Enterprise Search will start loading its components, you can start using it as soon as you see a message in the console similar to this one (can be slightly different):

**************************************************************************************
  _____       _                       _          ____                      _
 | ____|_ __ | |_ ___ _ __ _ __  _ __(_)___  ___/ ___|  ___  __ _ _ __ ___| |__
 |  _| | '_ \| __/ _ \ '__| '_ \| '__| / __|/ _ \___ \ / _ \/ _` | '__/ __| '_ \
 | |___| | | | ||  __/ |  | |_) | |  | \__ \  __/___) |  __/ (_| | | | (__| | | |
 |_____|_| |_|\__\___|_|  | .__/|_|  |_|___/\___|____/ \___|\__,_|_|  \___|_| |_|
                          |_|

 Mode: development
 PID: 3024
 Protocol: http
 Port: 3000
 Authentication: none
 NodeJS: 14.15.1

**************************************************************************************

Be sure Elasticsearch is already running when attempting to start Enterprise Search

  • No labels