Skip to content

Latest commit

 

History

History
75 lines (56 loc) · 1.83 KB

Lesson0_Prerequisites.md

File metadata and controls

75 lines (56 loc) · 1.83 KB

Tutorial Pre-Work

In this tutorial, you will be building a search engine to search for product attributes using a Flask app and Elasticsearch.

To participate in this tutorial, you need to complete the following prerequisites:

  1. Install Python 3.6.4.

  2. Install Elasticsearch 6.2 and Kibana 6.2. (Note: You may need to install Java)

brew update
brew install kibana
brew install elasticsearch

brew services start elasticsearch
brew services start kibana
  1. Clone the pycon-2018-pyelasticsearch repository to your computer by running:
git clone github.com/julieqiu/pycon-2018-pyelasticsearch
  1. In root of the repository, set up a virtualenv:
python3 -m venv venv
source venv/bin/activate
  1. Install the necessary python requirements:
pip install -r requirements.txt
  1. Set up the searchapp:
pip install -e .

You're all set for the tutorial this Wednesday! :)


Docker Compose Instruction

  1. Clone the pycon-2018-pyelasticsearch repository to your computer by running:
git clone github.com/julieqiu/pycon-2018-pyelasticsearch
  1. Download elasticsearch and kibana images; start containers via docker-compose
docker-compose up
  1. In root of the repository, set up a virtualenv:
python3 -m venv venv
source venv/bin/activate
  1. Install the necessary python requirements:
pip install -r requirements.txt
  1. Set up the searchapp:
pip install -e .