Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Clone the code the repository for the Enterprise Search

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

    Tip

    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

    Code Block
    languagebashtext
    themeFadeToGrey
    git submodule update --init --recursive
  4. Install the server dependencies 

    Code Block
    languagebashtext
    themeFadeToGrey
    npm install
    Note

    In MacOs there is a know issue when executing npm install

    Code Block
    languagetext
    themeFadeToGrey
    gyp: No Xcode or CLT version detected!

    to solve this issue please follow the instructions from this link

  5. Install the user interface dependencies

    Code Block
    languagebashtext
    themeFadeToGrey
    cd ui
    npm install
  6. Build the user interfacer

    Code Block
    languagebashtext
    themeFadeToGrey
    npm run build
    Tip

    This can also be done from the root folder

...

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



Code Block
languagebashtext
themeFadeToGrey
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):

Code Block
languagebashtext
themeFadeToGrey
**************************************************************************************
  _____       _                       _          ____                      _
 | ____|_ __ | |_ ___ _ __ _ __  _ __(_)___  ___/ ___|  ___  __ _ _ __ ___| |__
 |  _| | '_ \| __/ _ \ '__| '_ \| '__| / __|/ _ \___ \ / _ \/ _` | '__/ __| '_ \
 | |___| | | | ||  __/ |  | |_) | |  | \__ \  __/___) |  __/ (_| | | | (__| | | |
 |_____|_| |_|\__\___|_|  | .__/|_|  |_|___/\___|____/ \___|\__,_|_|  \___|_| |_|
                          |_|

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

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

...