Versions Compared

Key

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

...

StageR runs on top of NodeJS and uses a No-SQL database for storage. By default it uses MongoDB.1, Install 

  1. Download and install NodeJS.

...

  1. Download and install MongoDB.

3. Install Git.

...

  1. Download StageR from here.

...

...

git fetch && git checkout develop

...

  1. Configure npm to connect to Search Technologies artifactory repository for local dependencies:

    1. Open cmd as Administrator

...

    1.  

      Code Block
      languagetext
      themeFadeToGrey
      npm install npmrc -g

...


    1. Code Block
      languagetext
      themeFadeToGrey
      npmrc -c local

...


    1. Code Block
      languagetext
      themeFadeToGrey
      npm config set registry https://repository.searchtechnologies.com/artifactory/api/npm/npm-virtual

...


    1. Get

...

    1. Authentication token

...

    1.  (using curl or Postman)

      Code Block
      languagetext
      themeFadeToGrey
      curl -u<USERNAME>:<PASSWORD> https://repository.searchtechnologies.com/artifactory/api/npm/auth

...


    1. Append response to:

...

    1. C:\Users\<USERNAME>\.npmrcs\local

...

    1. Save

...

    1. file

...

...

  1. Install dependencies:

    Code Block
    languagetext
    themeFadeToGrey
    npm install --production

...


  1. Start MongoDB.

    Code Block
    languagetext
    themeFadeToGrey
    mongod

...


  1. Launch

...

  1. StageR.

    Code Block
    languagetext
    themeFadeToGrey
    node server.js



Storage

...

The Staging Repository data is stored in a No-SQL database. By default, the Staging Repository uses MongoDB as its storage option. Custom plugins can be developed for other No-SQL databases.

...