Sha256: 45288f900a2d44526f1f7edd0acae512b10b7c68e2a529385abde187a7cfd33b

Contents?: true

Size: 1.27 KB

Versions: 26

Compression:

Stored size: 1.27 KB

Contents

[[development]]
== Development

[discrete]
=== Run Stack locally

A rake task is included to run the Elastic Enterprise Search stack locally via Docker:

[source,bash]
----------------------------
$ rake stack[7.10.0]
----------------------------

This will run Elastic Enterprise Search in http://localhost:3002
- Username: `enterprise_search`
- Password: `changeme`

[discrete]
=== Run Tests

Unit tests for the clients:

[source,bash]
----------------------------
$ rake spec:client
----------------------------

Integration tests: you need to have an instance of Enterprise Search running either locally or remotely, and specify the host and credentials in environment variables (see below for a complete dockerized setup). If you're using the included rake task `rake stack[:version]`, you can run the integration tests with the following command:

[source,bash]
----------------------------
$ ELASTIC_ENTERPRISE_HOST='http://localhost:3002' \
  ELASTIC_ENTERPRISE_USER='elastic' \
  ELASTIC_ENTERPRISE_PASSWORD='changeme' \
  rake spec:integration
----------------------------

Run integration tests completely within containers, the way we run them on our CI:
[source,bash]
----------------------------
RUNSCRIPTS=enterprise-search STACK_VERSION=7.10.0 ./.ci/run-tests
----------------------------

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
elastic-enterprise-search-8.9.0 docs/guide/development.asciidoc
elastic-enterprise-search-8.8.0 docs/guide/development.asciidoc
elastic-enterprise-search-8.7.0 docs/guide/development.asciidoc
elastic-enterprise-search-8.6.0 docs/guide/development.asciidoc
elastic-enterprise-search-8.5.0 docs/guide/development.asciidoc
elastic-enterprise-search-7.17.1 docs/guide/development.asciidoc
elastic-enterprise-search-8.4.0 docs/guide/development.asciidoc
elastic-enterprise-search-8.3.0 docs/guide/development.asciidoc
elastic-enterprise-search-8.2.1 docs/guide/development.asciidoc
elastic-enterprise-search-8.1.1 docs/guide/development.asciidoc
elastic-enterprise-search-8.0.1 docs/guide/development.asciidoc
elastic-enterprise-search-8.2.0 docs/guide/development.asciidoc
elastic-enterprise-search-8.1.0 docs/guide/development.asciidoc
elastic-enterprise-search-8.0.0 docs/guide/development.asciidoc
elastic-enterprise-search-8.0.0.pre docs/guide/development.asciidoc
elastic-enterprise-search-7.17.0 docs/guide/development.asciidoc
elastic-enterprise-search-7.16.0 docs/guide/development.asciidoc
elastic-enterprise-search-7.15.1 docs/guide/development.asciidoc
elastic-enterprise-search-7.14.1 docs/guide/development.asciidoc
elastic-enterprise-search-7.15.0 docs/guide/development.asciidoc