Few questions about development set up.

19 views
Skip to first unread message

Vytautas Galdikas

unread,
Apr 3, 2017, 1:54:22 PM4/3/17
to Elastica - Elasticsearch PHP Client
Hey everyone,

new person here I need some help setting up.

So basically what I have done so far:

+Forked and cloned repository
+Built the docker image, and got it running (make build, and then - make start). Elastics search is now running:
https://pastebin.com/raw/zCrYzQcu. I succesfully queried it via 'Sense' chrome extension.

So... Now I am a bit lost... what do I need to do now? How do I execute the code, so I can better familiarize myself with. Do I just edit i locally, or do i need to edit inside a docker container? If so, how do I open the code in docker using mu installation in PhpStorm? Do I need to populate the elastic index with some data, in order to test it? If so.. is there standart dataset eveyone is working with, or do I just add whatever I want to it? etc.... etc.

In general, I need some guidance for how to start developing, once I have the docker up and running.

Only experience with docker I have is working on laravel project, and there we simply edit the code locally and it gets synced with docker instance automatically.

So.. all in all, anyone can guide me through next steps, so I can start tinkering with it, and see if I can do anything useful :)

Kind regards,

Vytautas Galdikas

ruflin

unread,
Apr 27, 2017, 8:06:55 AM4/27/17
to Elastica - Elasticsearch PHP Client
Hi 

Sorry for the really late reply. Best way to get started is the CONTRIBUTING.md file: https://github.com/ruflin/Elastica/blob/master/CONTRIBUTING.md But to be honest I haven't updated it in ages.

Docker is only here for the testing. If you have all setup locally with phpunit and a local elasticsearch instance, you don't need docker at all.

What are you planning to do?
Reply all
Reply to author
Forward
0 new messages