-
skip test
- $ gradle build -x test
- $
-
Install ElasticSearch
- https://www.elastic.co/guide/en/elasticsearch/reference/6.1/docker.html#_image_types
- $ docker pull docker.elastic.co/elasticsearch/elasticsearch:6.1.1
- Development mode
- โจ$ docker run -p 19200:9200 -p 19300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:6.1.1
- $ mkdir /Users/conanchen/elasticsearch/data
- $ chmod g+rwx /Users/conanchen/elasticsearch/data
- $ chgrp 1000 /Users/conanchen/elasticsearch/data
- $ cd elasticsearch;
- $ docker-compose up
- $ docker-compose down
[https://docs.docker.com/get-started/part2/#run-the-app]
- Build the local app image
- $ docker build -t gedit-cloud-storesearch .
- $ docker run -p 18088:8088 -p 18980:8980 gedit-cloud-storesearch
- [https://docs.docker.com/get-started/part2/#share-your-image]
- Pull and run the image from the remote repository
- $ docker run -p 18088:8088 -p 18980:8980 conanchen/gedit-cloud-storesearch:latest
- skip test
- $ gradle build -x test
- $